Class ImmutableSortedSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.sorted.immutable.ImmutableSortedSetFactoryImpl
-
- All Implemented Interfaces:
ImmutableSortedSetFactory
public class ImmutableSortedSetFactoryImpl extends java.lang.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(java.util.Comparator<? super T> comparator)<T> ImmutableSortedSet<T>of()Same asImmutableSortedSetFactory.empty().<T> ImmutableSortedSet<T>of(java.util.Comparator<? super T> comparator)<T> ImmutableSortedSet<T>of(java.util.Comparator<? super T> comparator, T... items)<T> ImmutableSortedSet<T>of(T... items)<T> ImmutableSortedSet<T>ofAll(java.lang.Iterable<? extends T> items)<T> ImmutableSortedSet<T>ofAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)<T> ImmutableSortedSet<T>ofSortedSet(java.util.SortedSet<T> set)<T> ImmutableSortedSet<T>with()Same asImmutableSortedSetFactory.empty().<T> ImmutableSortedSet<T>with(java.util.Comparator<? super T> comparator)<T> ImmutableSortedSet<T>with(java.util.Comparator<? super T> comparator, T... items)<T> ImmutableSortedSet<T>with(T... items)<T> ImmutableSortedSet<T>withAll(java.lang.Iterable<? extends T> items)<T> ImmutableSortedSet<T>withAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> iterable)<T> ImmutableSortedSet<T>withSortedSet(java.util.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(java.util.Comparator<? super T> comparator)
- Specified by:
emptyin interfaceImmutableSortedSetFactory
-
of
public <T> ImmutableSortedSet<T> of()
Description copied from interface:ImmutableSortedSetFactorySame asImmutableSortedSetFactory.empty().- Specified by:
ofin interfaceImmutableSortedSetFactory
-
with
public <T> ImmutableSortedSet<T> with()
Description copied from interface:ImmutableSortedSetFactorySame asImmutableSortedSetFactory.empty().- Specified by:
within interfaceImmutableSortedSetFactory
-
of
public <T> ImmutableSortedSet<T> of(T... items)
Description copied from interface:ImmutableSortedSetFactory- Specified by:
ofin interfaceImmutableSortedSetFactory
-
with
public <T> ImmutableSortedSet<T> with(T... items)
- Specified by:
within interfaceImmutableSortedSetFactory
-
ofAll
public <T> ImmutableSortedSet<T> ofAll(java.lang.Iterable<? extends T> items)
Description copied from interface:ImmutableSortedSetFactory- Specified by:
ofAllin interfaceImmutableSortedSetFactory
-
withAll
public <T> ImmutableSortedSet<T> withAll(java.lang.Iterable<? extends T> items)
- Specified by:
withAllin interfaceImmutableSortedSetFactory
-
of
public <T> ImmutableSortedSet<T> of(java.util.Comparator<? super T> comparator)
Description copied from interface:ImmutableSortedSetFactory- Specified by:
ofin interfaceImmutableSortedSetFactory
-
with
public <T> ImmutableSortedSet<T> with(java.util.Comparator<? super T> comparator)
- Specified by:
within interfaceImmutableSortedSetFactory
-
of
public <T> ImmutableSortedSet<T> of(java.util.Comparator<? super T> comparator, T... items)
Description copied from interface:ImmutableSortedSetFactory- Specified by:
ofin interfaceImmutableSortedSetFactory
-
with
public <T> ImmutableSortedSet<T> with(java.util.Comparator<? super T> comparator, T... items)
- Specified by:
within interfaceImmutableSortedSetFactory
-
ofAll
public <T> ImmutableSortedSet<T> ofAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
Description copied from interface:ImmutableSortedSetFactory- Specified by:
ofAllin interfaceImmutableSortedSetFactory
-
withAll
public <T> ImmutableSortedSet<T> withAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> iterable)
- Specified by:
withAllin interfaceImmutableSortedSetFactory
-
ofSortedSet
public <T> ImmutableSortedSet<T> ofSortedSet(java.util.SortedSet<T> set)
Description copied from interface:ImmutableSortedSetFactory- Specified by:
ofSortedSetin interfaceImmutableSortedSetFactory
-
withSortedSet
public <T> ImmutableSortedSet<T> withSortedSet(java.util.SortedSet<T> set)
- Specified by:
withSortedSetin interfaceImmutableSortedSetFactory
-
-