com.sparsity.sparksee.gdb
Class EdgeData

java.lang.Object
  extended by com.sparsity.sparksee.gdb.EdgeData

public class EdgeData
extends java.lang.Object

Edge data class.

It stores the tail and the head of an edge instance.

In case of undirected eges, the tail and the head are just the two ends of the edge.

Author:
Sparsity Technologies http://www.sparsity-technologies.com

Method Summary
 long getEdge()
          Gets the edge identifier.
 long getHead()
          Gets the head of the edge.
 long getTail()
          Gets the tail of the edge.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getHead

public long getHead()
Gets the head of the edge.

Returns:
The Sparksee edge identifier of the head of the edge.

getTail

public long getTail()
Gets the tail of the edge.

Returns:
The Sparksee edge identifier of the tail of the edge.

getEdge

public long getEdge()
Gets the edge identifier.

Returns:
The Sparksee edge identifier.