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()Same asImmutableSortedSetFactory.empty().<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()Same asImmutableSortedSetFactory.empty().<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
Description copied from interface:ImmutableSortedSetFactorySame asImmutableSortedSetFactory.empty().- Specified by:
ofin interfaceImmutableSortedSetFactory
-
with
Description copied from interface:ImmutableSortedSetFactorySame asImmutableSortedSetFactory.empty().- Specified by:
within interfaceImmutableSortedSetFactory
-
of
Description copied from interface:ImmutableSortedSetFactory- Specified by:
ofin interfaceImmutableSortedSetFactory
-
with
- Specified by:
within interfaceImmutableSortedSetFactory
-
ofAll
Description copied from interface:ImmutableSortedSetFactory- Specified by:
ofAllin interfaceImmutableSortedSetFactory
-
withAll
- Specified by:
withAllin interfaceImmutableSortedSetFactory
-
of
Description copied from interface:ImmutableSortedSetFactory- Specified by:
ofin interfaceImmutableSortedSetFactory
-
with
- Specified by:
within interfaceImmutableSortedSetFactory
-
of
Description copied from interface:ImmutableSortedSetFactory- Specified by:
ofin interfaceImmutableSortedSetFactory
-
with
- Specified by:
within interfaceImmutableSortedSetFactory
-
ofAll
public <T> ImmutableSortedSet<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items) Description copied from interface:ImmutableSortedSetFactory- Specified by:
ofAllin interfaceImmutableSortedSetFactory
-
withAll
public <T> ImmutableSortedSet<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> iterable) - Specified by:
withAllin interfaceImmutableSortedSetFactory
-
ofSortedSet
Description copied from interface:ImmutableSortedSetFactory- Specified by:
ofSortedSetin interfaceImmutableSortedSetFactory
-
withSortedSet
- Specified by:
withSortedSetin interfaceImmutableSortedSetFactory
-