public final class EmptyTraversalStrategies extends Object implements TraversalStrategies
TraversalStrategies.GlobalCacheSTRATEGY_CATEGORIES| Modifier and Type | Method and Description |
|---|---|
TraversalStrategies |
addStrategies(TraversalStrategy<?>... strategies)
Add all the provided
TraversalStrategy instances to the current collection. |
void |
applyStrategies(Traversal.Admin<?,?> traversal)
|
TraversalStrategies |
clone() |
static EmptyTraversalStrategies |
instance() |
TraversalStrategies |
removeStrategies(Class<? extends TraversalStrategy>... strategyClasses)
Remove all the provided
TraversalStrategy classes from the current collection. |
List<TraversalStrategy<?>> |
toList()
Return all the
TraversalStrategy singleton instances associated with this TraversalStrategies. |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStrategy, sortStrategies, visitpublic List<TraversalStrategy<?>> toList()
TraversalStrategiesTraversalStrategy singleton instances associated with this TraversalStrategies.toList in interface TraversalStrategiespublic void applyStrategies(Traversal.Admin<?,?> traversal)
TraversalStrategiesTraversalStrategy optimizers to the Traversal for the stated TraversalEngine.
This method must ensure that the strategies are sorted prior to application.applyStrategies in interface TraversalStrategiestraversal - the traversal to apply the strategies topublic TraversalStrategies addStrategies(TraversalStrategy<?>... strategies)
TraversalStrategiesTraversalStrategy instances to the current collection.
When all the provided strategies have been added, the collection is resorted.addStrategies in interface TraversalStrategiesstrategies - the traversal strategies to addpublic TraversalStrategies removeStrategies(Class<? extends TraversalStrategy>... strategyClasses)
TraversalStrategiesTraversalStrategy classes from the current collection.
When all the provided strategies have been removed, the collection is resorted.removeStrategies in interface TraversalStrategiesstrategyClasses - the traversal strategies to remove by their classpublic TraversalStrategies clone()
clone in interface TraversalStrategiesclone in class Objectpublic static EmptyTraversalStrategies instance()
Copyright © 2013–2016 Apache Software Foundation. All rights reserved.