Class EmptyTraversalStrategies
- java.lang.Object
- 
- org.apache.tinkerpop.gremlin.process.traversal.util.EmptyTraversalStrategies
 
- 
- All Implemented Interfaces:
- Serializable,- Cloneable,- Iterable<TraversalStrategy<?>>,- TraversalStrategies
 
 public final class EmptyTraversalStrategies extends Object implements TraversalStrategies - Author:
- Marko A. Rodriguez (http://markorodriguez.com)
- See Also:
- Serialized Form
 
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategiesTraversalStrategies.GlobalCache
 
- 
 - 
Field Summary- 
Fields inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategiesSTRATEGY_CATEGORIES
 
- 
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TraversalStrategiesaddStrategies(TraversalStrategy<?>... strategies)Add all the providedTraversalStrategyinstances to the current collection.TraversalStrategiesclone()static EmptyTraversalStrategiesinstance()Iterator<TraversalStrategy<?>>iterator()Return anIteratorof theTraversalStrategyinstances.TraversalStrategiesremoveStrategies(Class<? extends TraversalStrategy>... strategyClasses)Remove all the providedTraversalStrategyclasses from the current collection.List<TraversalStrategy<?>>toList()Return an immutable list of theTraversalStrategyinstances.- 
Methods inherited from class java.lang.Objectequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.lang.IterableforEach, spliterator
 - 
Methods inherited from interface org.apache.tinkerpop.gremlin.process.traversal.TraversalStrategiesgetStrategy
 
- 
 
- 
- 
- 
Method Detail- 
toListpublic List<TraversalStrategy<?>> toList() Description copied from interface:TraversalStrategiesReturn an immutable list of theTraversalStrategyinstances.- Specified by:
- toListin interface- TraversalStrategies
 
 - 
iteratorpublic Iterator<TraversalStrategy<?>> iterator() Description copied from interface:TraversalStrategiesReturn anIteratorof theTraversalStrategyinstances.- Specified by:
- iteratorin interface- Iterable<TraversalStrategy<?>>
- Specified by:
- iteratorin interface- TraversalStrategies
 
 - 
addStrategiespublic TraversalStrategies addStrategies(TraversalStrategy<?>... strategies) Description copied from interface:TraversalStrategiesAdd all the providedTraversalStrategyinstances to the current collection. When all the provided strategies have been added, the collection is resorted. If a strategy class is found to already be defined, it is removed and replaced by the newly added one.- Specified by:
- addStrategiesin interface- TraversalStrategies
- Parameters:
- strategies- the traversal strategies to add
- Returns:
- the newly updated/sorted traversal strategies collection
 
 - 
removeStrategiespublic TraversalStrategies removeStrategies(Class<? extends TraversalStrategy>... strategyClasses) Description copied from interface:TraversalStrategiesRemove all the providedTraversalStrategyclasses from the current collection. When all the provided strategies have been removed, the collection is resorted.- Specified by:
- removeStrategiesin interface- TraversalStrategies
- Parameters:
- strategyClasses- the traversal strategies to remove by their class
- Returns:
- the newly updated/sorted traversal strategies collection
 
 - 
clonepublic TraversalStrategies clone() - Specified by:
- clonein interface- TraversalStrategies
- Overrides:
- clonein class- Object
 
 - 
instancepublic static EmptyTraversalStrategies instance() 
 
- 
 
-