Class TransformedNavigableSet<E>
java.lang.Object
org.apache.commons.collections4.collection.AbstractCollectionDecorator<E>
org.apache.commons.collections4.collection.TransformedCollection<E>
org.apache.commons.collections4.set.TransformedSet<E>
org.apache.commons.collections4.set.TransformedSortedSet<E>
org.apache.commons.collections4.set.TransformedNavigableSet<E>
- Type Parameters:
- E- the type of the elements in this set
- All Implemented Interfaces:
- Serializable,- Iterable<E>,- Collection<E>,- NavigableSet<E>,- Set<E>,- SortedSet<E>
Decorates another 
NavigableSet to transform objects that are added.
 The add methods are affected by this class. Thus objects must be removed or searched for using their transformed form. For example, if the transformation converts Strings to Integers, you must use the Integer form to remove objects.
- Since:
- 4.1
- See Also:
- 
Field SummaryFields inherited from class org.apache.commons.collections4.collection.TransformedCollectiontransformer
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedTransformedNavigableSet(NavigableSet<E> set, Transformer<? super E, ? extends E> transformer) Constructor that wraps (not copies).
- 
Method SummaryModifier and TypeMethodDescriptionprotected NavigableSet<E> Gets the decorated navigable set.pollLast()static <E> TransformedNavigableSet<E> transformedNavigableSet(NavigableSet<E> set, Transformer<? super E, ? extends E> transformer) Factory method to create a transforming navigable set that will transform existing contents of the specified navigable set.static <E> TransformedNavigableSet<E> transformingNavigableSet(NavigableSet<E> set, Transformer<? super E, ? extends E> transformer) Factory method to create a transforming navigable set.Methods inherited from class org.apache.commons.collections4.set.TransformedSortedSetcomparator, first, getSortedSet, headSet, last, subSet, tailSet, transformedSortedSet, transformingSortedSetMethods inherited from class org.apache.commons.collections4.set.TransformedSetequals, hashCode, transformedSet, transformingSetMethods inherited from class org.apache.commons.collections4.collection.TransformedCollectionadd, addAll, transform, transform, transformedCollection, transformingCollectionMethods inherited from class org.apache.commons.collections4.collection.AbstractCollectionDecoratorclear, 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
- 
Method Details
- 
ceiling
- 
decoratedGets the decorated navigable set.- Overrides:
- decoratedin class- AbstractCollectionDecorator<E>
- Returns:
- the decorated navigable 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>