Loading...
Searching...
No Matches
GraphEdgeBinding.java
Go to the documentation of this file.
1package com.navigine.idl.java.internal;
2
3import com.navigine.common.NativeObject;
4import com.navigine.idl.java.GraphEdge;
5
10public final class GraphEdgeBinding extends GraphEdge
11{
12 private final NativeObject nativeObject;
13
14 GraphEdgeBinding(NativeObject nativeObject)
15 {
16 this.nativeObject = nativeObject;
17 }
18
19 @Override
20 public native boolean isValid();
21
22 // GraphEdge methods
23
24 @Override
25 public Float getWeight()
26 {
27 return native_getWeight();
28 }
29 private native Float native_getWeight();
30
31 @Override
32 public int getDst()
33 {
34 return native_getDst();
35 }
36 private native int native_getDst();
37
38 @Override
39 public int getSrc()
40 {
41 return native_getSrc();
42 }
43 private native int native_getSrc();
44
45 @Override
46 public Float getWeightCoef()
47 {
48 return native_getWeightCoef();
49 }
50 private native Float native_getWeightCoef();
51}