helix.graph.model.impl.memory
Class MemEdge
java.lang.Object
helix.graph.model.impl.AbstractRegistry
helix.graph.model.impl.memory.MemRegistry
helix.graph.model.impl.memory.MemEdge
- All Implemented Interfaces:
- Edge, GraphElement, Registry
public class MemEdge
- extends MemRegistry
- implements Edge
Methods inherited from interface helix.graph.model.Registry |
copy, get, has, keys, registry, remove, set, set, set, set, set, set |
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