Class TraversalRing<A,B>
- java.lang.Object
-
- org.apache.tinkerpop.gremlin.process.traversal.util.TraversalRing<A,B>
-
- All Implemented Interfaces:
Serializable
,Cloneable
public final class TraversalRing<A,B> extends Object implements Serializable, Cloneable
- Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TraversalRing(Traversal.Admin<A,B>... traversals)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTraversal(Traversal.Admin<A,B> traversal)
TraversalRing<A,B>
clone()
List<Traversal.Admin<A,B>>
getTraversals()
int
hashCode()
boolean
isEmpty()
Traversal.Admin<A,B>
next()
void
replaceTraversal(Traversal.Admin<A,B> oldTraversal, Traversal.Admin<A,B> newTraversal)
void
reset()
int
size()
String
toString()
-
-
-
Constructor Detail
-
TraversalRing
public TraversalRing(Traversal.Admin<A,B>... traversals)
-
-
Method Detail
-
next
public Traversal.Admin<A,B> next()
-
isEmpty
public boolean isEmpty()
-
reset
public void reset()
-
size
public int size()
-
addTraversal
public void addTraversal(Traversal.Admin<A,B> traversal)
-
replaceTraversal
public void replaceTraversal(Traversal.Admin<A,B> oldTraversal, Traversal.Admin<A,B> newTraversal)
-
getTraversals
public List<Traversal.Admin<A,B>> getTraversals()
-
clone
public TraversalRing<A,B> clone()
-
-