Loading...
Searching...
No Matches
com.navigine.idl.java.internal.GraphBinding Class Reference
+ Inheritance diagram for com.navigine.idl.java.internal.GraphBinding:

Public Member Functions

native boolean isValid ()
 
ArrayList< GraphVertexgetVertexes ()
 List of connected vertexes GraphVertex.
 
ArrayList< GraphEdgegetEdges ()
 List of edges that connected vertexes GraphEdge.
 

Detailed Description

Definition at line 13 of file GraphBinding.java.

Member Function Documentation

◆ getEdges()

ArrayList< GraphEdge > com.navigine.idl.java.internal.GraphBinding.getEdges ( )
inline

List of edges that connected vertexes GraphEdge.

Returns

Java code snippet:

// Get graph edges
java.util.ArrayList<GraphEdge> edges = graph.getEdges();
System.out.println("Number of graph edges: " + edges.size());

Kotlin code snippet:

// Get graph edges
val edges = graph.edges
println("Number of graph edges: ${edges.size}")

Reimplemented from com.navigine.idl.java.Graph.

Definition at line 35 of file GraphBinding.java.

◆ getVertexes()

ArrayList< GraphVertex > com.navigine.idl.java.internal.GraphBinding.getVertexes ( )
inline

List of connected vertexes GraphVertex.

Returns

Java code snippet:

// Get graph vertices
java.util.ArrayList<GraphVertex> vertices = graph.getVertices();
System.out.println("Number of graph vertices: " + vertices.size());

Kotlin code snippet:

// Get graph vertices
val vertices = graph.vertices
println("Number of graph vertices: ${vertices.size}")

Reimplemented from com.navigine.idl.java.Graph.

Definition at line 28 of file GraphBinding.java.

◆ isValid()

native boolean com.navigine.idl.java.internal.GraphBinding.isValid ( )

Tells if this Graph is valid or not. Any other method (except for this one) called on an invalid Graph will throw java.lang.RuntimeException.

Reimplemented from com.navigine.idl.java.Graph.


The documentation for this class was generated from the following file: