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. |
TraversalStrategies |
clone() |
static EmptyTraversalStrategies |
instance() |
Iterator<TraversalStrategy<?>> |
iterator()
Return an
Iterator of the TraversalStrategy instances. |
TraversalStrategies |
removeStrategies(Class<? extends TraversalStrategy>... strategyClasses)
Remove all the provided
TraversalStrategy classes from the current collection. |
List<TraversalStrategy<?>> |
toList()
Return an immutable list of the
TraversalStrategy instances. |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetStrategy, sortStrategies, visitforEach, spliteratorpublic List<TraversalStrategy<?>> toList()
TraversalStrategiesTraversalStrategy instances.toList in interface TraversalStrategiespublic Iterator<TraversalStrategy<?>> iterator()
TraversalStrategiesIterator of the TraversalStrategy instances.iterator in interface Iterable<TraversalStrategy<?>>iterator in interface TraversalStrategiespublic TraversalStrategies addStrategies(TraversalStrategy<?>... strategies)
TraversalStrategiesTraversalStrategy instances 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.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–2022 Apache Software Foundation. All rights reserved.