Class ImmutableSortedSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.sorted.immutable.ImmutableSortedSetFactoryImpl
-
- All Implemented Interfaces:
ImmutableSortedSetFactory
public class ImmutableSortedSetFactoryImpl extends Object implements ImmutableSortedSetFactory
-
-
Field Summary
Fields Modifier and Type Field Description static ImmutableSortedSetFactoryINSTANCE
-
Constructor Summary
Constructors Constructor Description ImmutableSortedSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <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>ofAll(Iterable<? extends T> items)<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>withAll(Iterable<? extends T> items)<T> ImmutableSortedSet<T>withAll(Comparator<? super T> comparator, Iterable<? extends T> iterable)<T> ImmutableSortedSet<T>withSortedSet(SortedSet<T> set)
-
-
-
Field Detail
-
INSTANCE
public static final ImmutableSortedSetFactory INSTANCE
-
-
Method Detail
-
empty
public <T> ImmutableSortedSet<T> empty()
- Specified by:
emptyin interfaceImmutableSortedSetFactory
-
empty
public <T> ImmutableSortedSet<T> empty(Comparator<? super T> comparator)
- Specified by:
emptyin interfaceImmutableSortedSetFactory
-
of
public <T> ImmutableSortedSet<T> of()
- Specified by:
ofin interfaceImmutableSortedSetFactory
-
with
public <T> ImmutableSortedSet<T> with()
- Specified by:
within interfaceImmutableSortedSetFactory
-
of
public <T> ImmutableSortedSet<T> of(T... items)
- Specified by:
ofin interfaceImmutableSortedSetFactory
-
with
public <T> ImmutableSortedSet<T> with(T... items)
- Specified by:
within interfaceImmutableSortedSetFactory
-
ofAll
public <T> ImmutableSortedSet<T> ofAll(Iterable<? extends T> items)
- Specified by:
ofAllin interfaceImmutableSortedSetFactory
-
withAll
public <T> ImmutableSortedSet<T> withAll(Iterable<? extends T> items)
- Specified by:
withAllin interfaceImmutableSortedSetFactory
-
of
public <T> ImmutableSortedSet<T> of(Comparator<? super T> comparator)
- Specified by:
ofin interfaceImmutableSortedSetFactory
-
with
public <T> ImmutableSortedSet<T> with(Comparator<? super T> comparator)
- Specified by:
within interfaceImmutableSortedSetFactory
-
of
public <T> ImmutableSortedSet<T> of(Comparator<? super T> comparator, T... items)
- Specified by:
ofin interfaceImmutableSortedSetFactory
-
with
public <T> ImmutableSortedSet<T> with(Comparator<? super T> comparator, T... items)
- 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
public <T> ImmutableSortedSet<T> ofSortedSet(SortedSet<T> set)
- Specified by:
ofSortedSetin interfaceImmutableSortedSetFactory
-
withSortedSet
public <T> ImmutableSortedSet<T> withSortedSet(SortedSet<T> set)
- Specified by:
withSortedSetin interfaceImmutableSortedSetFactory
-
-