Package nl.vpro.util
Class TransformingSortedSet<T,S>
java.lang.Object
java.util.AbstractCollection<E>
java.util.AbstractSet<T>
nl.vpro.util.TransformingSortedSet<T,S>
- All Implemented Interfaces:
Iterable<T>
,Collection<T>
,Set<T>
,SortedSet<T>
,TransformingCollection<T,
S, SortedSet<T>, SortedSet<S>>
public class TransformingSortedSet<T,S>
extends AbstractSet<T>
implements SortedSet<T>, TransformingCollection<T,S,SortedSet<T>,SortedSet<S>>
- Since:
- 4.3
- Author:
- Michiel Meeuwissen
-
Constructor Summary
-
Method Summary
Methods inherited from class java.util.AbstractSet
equals, hashCode, removeAll
Methods inherited from class java.util.AbstractCollection
addAll, clear, contains, containsAll, isEmpty, retainAll, toArray, toArray, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
Methods inherited from interface java.util.Set
addAll, clear, contains, containsAll, equals, hashCode, isEmpty, removeAll, retainAll, toArray, toArray
Methods inherited from interface java.util.SortedSet
spliterator
Methods inherited from interface nl.vpro.util.TransformingCollection
filter, produce, transform
-
Constructor Details
-
TransformingSortedSet
-
-
Method Details
-
iterator
-
size
public int size() -
add
-
remove
-
comparator
- Specified by:
comparator
in interfaceSortedSet<T>
-
subSet
-
headSet
-
tailSet
-
first
-
last
-
unwrap
-
transform
-
produce
-
newWrap
-
newFiltered
- Specified by:
newFiltered
in interfaceTransformingCollection<T,
S, SortedSet<T>, SortedSet<S>>
-
filter
-