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 ImmutableSortedSetFactory
INSTANCE
-
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:
empty
in interfaceImmutableSortedSetFactory
-
empty
public <T> ImmutableSortedSet<T> empty(java.util.Comparator<? super T> comparator)
- Specified by:
empty
in interfaceImmutableSortedSetFactory
-
of
public <T> ImmutableSortedSet<T> of()
Description copied from interface:ImmutableSortedSetFactory
Same asImmutableSortedSetFactory.empty()
.- Specified by:
of
in interfaceImmutableSortedSetFactory
-
with
public <T> ImmutableSortedSet<T> with()
Description copied from interface:ImmutableSortedSetFactory
Same asImmutableSortedSetFactory.empty()
.- Specified by:
with
in interfaceImmutableSortedSetFactory
-
of
public <T> ImmutableSortedSet<T> of(T... items)
Description copied from interface:ImmutableSortedSetFactory
- Specified by:
of
in interfaceImmutableSortedSetFactory
-
with
public <T> ImmutableSortedSet<T> with(T... items)
- Specified by:
with
in interfaceImmutableSortedSetFactory
-
ofAll
public <T> ImmutableSortedSet<T> ofAll(java.lang.Iterable<? extends T> items)
Description copied from interface:ImmutableSortedSetFactory
- Specified by:
ofAll
in interfaceImmutableSortedSetFactory
-
withAll
public <T> ImmutableSortedSet<T> withAll(java.lang.Iterable<? extends T> items)
- Specified by:
withAll
in interfaceImmutableSortedSetFactory
-
of
public <T> ImmutableSortedSet<T> of(java.util.Comparator<? super T> comparator)
Description copied from interface:ImmutableSortedSetFactory
- Specified by:
of
in interfaceImmutableSortedSetFactory
-
with
public <T> ImmutableSortedSet<T> with(java.util.Comparator<? super T> comparator)
- Specified by:
with
in interfaceImmutableSortedSetFactory
-
of
public <T> ImmutableSortedSet<T> of(java.util.Comparator<? super T> comparator, T... items)
Description copied from interface:ImmutableSortedSetFactory
- Specified by:
of
in interfaceImmutableSortedSetFactory
-
with
public <T> ImmutableSortedSet<T> with(java.util.Comparator<? super T> comparator, T... items)
- Specified by:
with
in 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:
ofAll
in interfaceImmutableSortedSetFactory
-
withAll
public <T> ImmutableSortedSet<T> withAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> iterable)
- Specified by:
withAll
in interfaceImmutableSortedSetFactory
-
ofSortedSet
public <T> ImmutableSortedSet<T> ofSortedSet(java.util.SortedSet<T> set)
Description copied from interface:ImmutableSortedSetFactory
- Specified by:
ofSortedSet
in interfaceImmutableSortedSetFactory
-
withSortedSet
public <T> ImmutableSortedSet<T> withSortedSet(java.util.SortedSet<T> set)
- Specified by:
withSortedSet
in interfaceImmutableSortedSetFactory
-
-