Package hydra.tinkerpop.gremlin
Class ShortestPathConstants.Distance
- java.lang.Object
-
- hydra.tinkerpop.gremlin.ShortestPathConstants
-
- hydra.tinkerpop.gremlin.ShortestPathConstants.Distance
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ShortestPathConstants>
- Enclosing class:
- ShortestPathConstants
public static final class ShortestPathConstants.Distance extends ShortestPathConstants implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class hydra.tinkerpop.gremlin.ShortestPathConstants
ShortestPathConstants.Distance, ShortestPathConstants.Edges, ShortestPathConstants.IncludeEdges, ShortestPathConstants.MaxDistance, ShortestPathConstants.PartialVisitor<R>, ShortestPathConstants.Target, ShortestPathConstants.Visitor<R>
-
-
Field Summary
-
Fields inherited from class hydra.tinkerpop.gremlin.ShortestPathConstants
DISTANCE, EDGES, INCLUDE_EDGES, MAX_DISTANCE, TARGET, TYPE_
-
-
Constructor Summary
Constructors Constructor Description Distance()Constructs an immutableShortestPathConstants.Distance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <R> Raccept(ShortestPathConstants.Visitor<R> visitor)Dispatch tovisitor.intcompareTo(ShortestPathConstants other)booleanequals(java.lang.Object other)inthashCode()
-
-
-
Constructor Detail
-
Distance
public Distance()
Constructs an immutableShortestPathConstants.Distance.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object other)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(ShortestPathConstants other)
- Specified by:
compareToin interfacejava.lang.Comparable<ShortestPathConstants>
-
accept
public <R> R accept(ShortestPathConstants.Visitor<R> visitor)
Dispatch tovisitor.- Specified by:
acceptin classShortestPathConstants
-
-