Uses of Class
org.jhotdraw8.icollection.RedBlackSet
Packages that use RedBlackSet
-
Uses of RedBlackSet in org.jhotdraw8.icollection
Methods in org.jhotdraw8.icollection that return RedBlackSetModifier and TypeMethodDescriptionstatic <E> @NonNull RedBlackSet<E> Returns an immutable set that contains the provided elements sorted according to the natural ordering of its elements.static <E> @NonNull RedBlackSet<E> RedBlackSet.copyOf(@Nullable Comparator<E> comparator, @NonNull Iterable<? extends E> c) Returns an immutable set that contains the provided elements, sorted according to the specified comparator.<T> @NonNull RedBlackSet<T> RedBlackSet.empty()protected @NonNull RedBlackSet<E> RedBlackSet.newInstance(@NonNull PrivateData privateData) Creates a new instance with the provided privateData object as its internal data structure.static <E> @NonNull RedBlackSet<E> RedBlackSet.of()Returns an empty immutable set, sorted according to the natural ordering of its elements.static <E> @NonNull RedBlackSet<E> Returns an immutable set that contains the provided elements, sorted according to the natural ordering of its elements.static <E> @NonNull RedBlackSet<E> RedBlackSet.sortedOf(@Nullable Comparator<E> comparator) Returns an empty immutable set, sorted according to the specified comparator.static <E> @NonNull RedBlackSet<E> RedBlackSet.sortedOf(@Nullable Comparator<E> comparator, @NonNull E @Nullable ... elements) Returns an immutable set that contains the provided elements, sorted according to the specified comparator.MutableRedBlackSet.toImmutable()Returns an immutable copy of this set.