helix.graph.model.impl.memory
Class MemEdge

java.lang.Object
  extended by helix.graph.model.impl.AbstractRegistry
      extended by helix.graph.model.impl.memory.MemRegistry
          extended by helix.graph.model.impl.memory.MemEdge
All Implemented Interfaces:
Edge, GraphElement, Registry

public class MemEdge
extends MemRegistry
implements Edge


Field Summary
 
Fields inherited from interface helix.graph.model.Registry
Color, Colors, Comment, IsDirect, Label, Orientation, Rank
 
Method Summary
 boolean equals(Edge e)
           
 Vertex getVertexTo(Vertex v)
           
 int hashCode()
           
 boolean hasVertex(Vertex v)
           
 Vertex[] toArray()
           
 String toString()
          a human readable version of toString()
 Vertex v1()
           
 Vertex v2()
           
 
Methods inherited from class helix.graph.model.impl.memory.MemRegistry
get, has, keys, remove, set
 
Methods inherited from class helix.graph.model.impl.AbstractRegistry
copy, registry, set, set, set, set, set
 
Methods inherited from class java.lang.Object
equals, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface helix.graph.model.Registry
copy, get, has, keys, registry, remove, set, set, set, set, set, set
 

Method Detail

v1

public Vertex v1()
Specified by:
v1 in interface Edge

v2

public Vertex v2()
Specified by:
v2 in interface Edge

hasVertex

public boolean hasVertex(Vertex v)
Specified by:
hasVertex in interface Edge

getVertexTo

public Vertex getVertexTo(Vertex v)
Specified by:
getVertexTo in interface Edge

toArray

public Vertex[] toArray()
Specified by:
toArray in interface Edge

hashCode

public int hashCode()
Specified by:
hashCode in interface Edge
Overrides:
hashCode in class Object

equals

public boolean equals(Edge e)
Specified by:
equals in interface Edge

toString

public String toString()
a human readable version of toString()

Overrides:
toString in class Object