Class ImmutableSortedSetFactoryImpl
java.lang.Object
org.eclipse.collections.impl.set.sorted.immutable.ImmutableSortedSetFactoryImpl
- All Implemented Interfaces:
ImmutableSortedSetFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> ImmutableSortedSet<T>empty()<T> ImmutableSortedSet<T>empty(Comparator<? super T> comparator) <T> ImmutableSortedSet<T>of()<T> ImmutableSortedSet<T>of(Comparator<? super T> comparator) <T> ImmutableSortedSet<T>of(Comparator<? super T> comparator, T... items) <T> ImmutableSortedSet<T>of(T... items) <T> ImmutableSortedSet<T><T> ImmutableSortedSet<T>ofAll(Comparator<? super T> comparator, Iterable<? extends T> items) <T> ImmutableSortedSet<T>ofSortedSet(SortedSet<T> set) <T> ImmutableSortedSet<T>with()<T> ImmutableSortedSet<T>with(Comparator<? super T> comparator) <T> ImmutableSortedSet<T>with(Comparator<? super T> comparator, T... items) <T> ImmutableSortedSet<T>with(T... items) <T> ImmutableSortedSet<T><T> ImmutableSortedSet<T>withAll(Comparator<? super T> comparator, Iterable<? extends T> iterable) <T> ImmutableSortedSet<T>withSortedSet(SortedSet<T> set)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableSortedSetFactoryImpl
public ImmutableSortedSetFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceImmutableSortedSetFactory
-
empty
- Specified by:
emptyin interfaceImmutableSortedSetFactory
-
of
- Specified by:
ofin interfaceImmutableSortedSetFactory
-
with
- Specified by:
within interfaceImmutableSortedSetFactory
-
of
- Specified by:
ofin interfaceImmutableSortedSetFactory
-
with
- Specified by:
within interfaceImmutableSortedSetFactory
-
ofAll
- Specified by:
ofAllin interfaceImmutableSortedSetFactory
-
withAll
- Specified by:
withAllin interfaceImmutableSortedSetFactory
-
of
- Specified by:
ofin interfaceImmutableSortedSetFactory
-
with
- Specified by:
within interfaceImmutableSortedSetFactory
-
of
- Specified by:
ofin interfaceImmutableSortedSetFactory
-
with
- Specified by:
within interfaceImmutableSortedSetFactory
-
ofAll
public <T> ImmutableSortedSet<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items) - Specified by:
ofAllin interfaceImmutableSortedSetFactory
-
withAll
public <T> ImmutableSortedSet<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> iterable) - Specified by:
withAllin interfaceImmutableSortedSetFactory
-
ofSortedSet
- Specified by:
ofSortedSetin interfaceImmutableSortedSetFactory
-
withSortedSet
- Specified by:
withSortedSetin interfaceImmutableSortedSetFactory
-