Class AbstractNavigableSetDecorator<E>
java.lang.Object
org.apache.commons.collections4.collection.AbstractCollectionDecorator<E>
org.apache.commons.collections4.set.AbstractSetDecorator<E>
org.apache.commons.collections4.set.AbstractSortedSetDecorator<E>
org.apache.commons.collections4.set.AbstractNavigableSetDecorator<E>
- Type Parameters:
- E- the type of the elements in the navigable set
- All Implemented Interfaces:
- Serializable,- Iterable<E>,- Collection<E>,- NavigableSet<E>,- Set<E>,- SortedSet<E>
- Direct Known Subclasses:
- UnmodifiableNavigableSet
public abstract class AbstractNavigableSetDecorator<E>
extends AbstractSortedSetDecorator<E>
implements NavigableSet<E>
Decorates another 
NavigableSet to provide additional behavior.
 Methods are forwarded directly to the decorated set.
- Since:
- 4.1
- See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedConstructor only used in deserialization, do not use otherwise.protectedConstructor that wraps (not copies).
- 
Method SummaryModifier and TypeMethodDescriptionprotected NavigableSet<E> Gets the set being decorated.pollLast()Methods inherited from class org.apache.commons.collections4.set.AbstractSortedSetDecoratorcomparator, first, headSet, last, subSet, tailSetMethods inherited from class org.apache.commons.collections4.set.AbstractSetDecoratorequals, hashCodeMethods inherited from class org.apache.commons.collections4.collection.AbstractCollectionDecoratoradd, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, removeIf, retainAll, setCollection, size, toArray, toArray, toStringMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, removeIf, streamMethods inherited from interface java.util.NavigableSetheadSet, iterator, subSet, tailSetMethods inherited from interface java.util.Setadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, remove, removeAll, retainAll, size, toArray, toArrayMethods inherited from interface java.util.SortedSetcomparator, first, last, spliterator
- 
Constructor Details- 
AbstractNavigableSetDecoratorprotected AbstractNavigableSetDecorator()Constructor only used in deserialization, do not use otherwise.
 
- 
- 
Method Details- 
ceiling
- 
decoratedGets the set being decorated.- Overrides:
- decoratedin class- AbstractSortedSetDecorator<E>
- Returns:
- the decorated set
 
- 
descendingIterator- Specified by:
- descendingIteratorin interface- NavigableSet<E>
 
- 
descendingSet- Specified by:
- descendingSetin interface- NavigableSet<E>
 
- 
floor
- 
headSet- Specified by:
- headSetin interface- NavigableSet<E>
 
- 
higher
- 
lower
- 
pollFirst- Specified by:
- pollFirstin interface- NavigableSet<E>
 
- 
pollLast- Specified by:
- pollLastin interface- NavigableSet<E>
 
- 
subSetpublic NavigableSet<E> subSet(E fromElement, boolean fromInclusive, E toElement, boolean toInclusive) - Specified by:
- subSetin interface- NavigableSet<E>
 
- 
tailSet- Specified by:
- tailSetin interface- NavigableSet<E>
 
 
-