Class MutableSortedSetFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.set.sorted.mutable.MutableSortedSetFactoryImpl
-
- All Implemented Interfaces:
MutableSortedSetFactory
public class MutableSortedSetFactoryImpl extends java.lang.Object implements MutableSortedSetFactory
-
-
Field Summary
Fields Modifier and Type Field Description static MutableSortedSetFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableSortedSetFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> MutableSortedSet<T>
empty()
<T> MutableSortedSet<T>
of()
Same asMutableSortedSetFactory.empty()
.<T> MutableSortedSet<T>
of(java.util.Comparator<? super T> comparator)
<T> MutableSortedSet<T>
of(java.util.Comparator<? super T> comparator, T... items)
<T> MutableSortedSet<T>
of(T... items)
<T> MutableSortedSet<T>
ofAll(java.lang.Iterable<? extends T> items)
<T> MutableSortedSet<T>
ofAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
<T> MutableSortedSet<T>
with()
Same asMutableSortedSetFactory.empty()
.<T> MutableSortedSet<T>
with(java.util.Comparator<? super T> comparator)
<T> MutableSortedSet<T>
with(java.util.Comparator<? super T> comparator, T... items)
<T> MutableSortedSet<T>
with(T... items)
<T> MutableSortedSet<T>
withAll(java.lang.Iterable<? extends T> items)
<T> MutableSortedSet<T>
withAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
-
-
-
Field Detail
-
INSTANCE
public static final MutableSortedSetFactory INSTANCE
-
-
Method Detail
-
empty
public <T> MutableSortedSet<T> empty()
- Specified by:
empty
in interfaceMutableSortedSetFactory
-
of
public <T> MutableSortedSet<T> of()
Description copied from interface:MutableSortedSetFactory
Same asMutableSortedSetFactory.empty()
.- Specified by:
of
in interfaceMutableSortedSetFactory
-
with
public <T> MutableSortedSet<T> with()
Description copied from interface:MutableSortedSetFactory
Same asMutableSortedSetFactory.empty()
.- Specified by:
with
in interfaceMutableSortedSetFactory
-
of
public <T> MutableSortedSet<T> of(T... items)
- Specified by:
of
in interfaceMutableSortedSetFactory
-
with
public <T> MutableSortedSet<T> with(T... items)
- Specified by:
with
in interfaceMutableSortedSetFactory
-
ofAll
public <T> MutableSortedSet<T> ofAll(java.lang.Iterable<? extends T> items)
- Specified by:
ofAll
in interfaceMutableSortedSetFactory
-
withAll
public <T> MutableSortedSet<T> withAll(java.lang.Iterable<? extends T> items)
- Specified by:
withAll
in interfaceMutableSortedSetFactory
-
of
public <T> MutableSortedSet<T> of(java.util.Comparator<? super T> comparator)
- Specified by:
of
in interfaceMutableSortedSetFactory
-
with
public <T> MutableSortedSet<T> with(java.util.Comparator<? super T> comparator)
- Specified by:
with
in interfaceMutableSortedSetFactory
-
of
public <T> MutableSortedSet<T> of(java.util.Comparator<? super T> comparator, T... items)
- Specified by:
of
in interfaceMutableSortedSetFactory
-
with
public <T> MutableSortedSet<T> with(java.util.Comparator<? super T> comparator, T... items)
- Specified by:
with
in interfaceMutableSortedSetFactory
-
ofAll
public <T> MutableSortedSet<T> ofAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
- Specified by:
ofAll
in interfaceMutableSortedSetFactory
-
withAll
public <T> MutableSortedSet<T> withAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
- Specified by:
withAll
in interfaceMutableSortedSetFactory
-
-