Class TreeSet<T>
java.lang.Object
org.javimmutable.collections.common.AbstractSet<T>
org.javimmutable.collections.common.AbstractSetUsingMap<T>
org.javimmutable.collections.tree.TreeSet<T>
- All Implemented Interfaces:
Serializable,Iterable<T>,ICollection<T>,InvariantCheckable,ISet<T>,IStreamable<T>,Mapped<T,,T> SplitableIterable<T>
- See Also:
-
Field Summary
Fields inherited from class org.javimmutable.collections.common.AbstractSetUsingMap
map -
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Comparable<T>>
ISetBuilder<T> builder()static <T> ISetBuilder<T> builder(Comparator<T> comparator) Implemented by derived classes to create a new instance of the appropriate class.Implemented by derived classes to create a new empty Setstatic <T extends Comparable<T>>
TreeSet<T> of()static <T> TreeSet<T> of(Comparator<T> comparator) Methods inherited from class org.javimmutable.collections.common.AbstractSetUsingMap
checkInvariants, checkSetInvariants, contains, delete, deleteAll, getSpliteratorCharacteristics, insert, intersection, intersection, isEmpty, iterator, size, unionMethods inherited from class org.javimmutable.collections.common.AbstractSet
containsAll, containsAll, containsAny, containsAny, deleteAll, equals, getSet, hashCode, insertAll, insertAll, intersection, intersection, toString, unionMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.javimmutable.collections.ICollection
isNonEmptyMethods inherited from interface org.javimmutable.collections.ISet
find, get, getValueOr, reject, select, setCollectorMethods inherited from interface org.javimmutable.collections.IStreamable
parallelStream, spliterator, streamMethods inherited from interface org.javimmutable.collections.SplitableIterable
forEachThrows, indexedForEach, indexedForEachThrows, reduce, reduceThrows
-
Method Details
-
deleteAll
-
getComparator
-
of
-
of
-
builder
-
builder
-
create
Description copied from class:AbstractSetUsingMapImplemented by derived classes to create a new instance of the appropriate class.- Specified by:
createin classAbstractSetUsingMap<T>
-
emptyMutableSet
Description copied from class:AbstractSetImplemented by derived classes to create a new empty Set- Specified by:
emptyMutableSetin classAbstractSet<T>
-