Class MutableSortedBagFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.bag.sorted.mutable.MutableSortedBagFactoryImpl
-
- All Implemented Interfaces:
MutableSortedBagFactory
public class MutableSortedBagFactoryImpl extends Object implements MutableSortedBagFactory
-
-
Field Summary
Fields Modifier and Type Field Description static MutableSortedBagFactory
INSTANCE
-
Constructor Summary
Constructors Constructor Description MutableSortedBagFactoryImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> MutableSortedBag<T>
empty()
<T> MutableSortedBag<T>
empty(Comparator<? super T> comparator)
<T> MutableSortedBag<T>
of()
<T> MutableSortedBag<T>
of(Comparator<? super T> comparator)
<T> MutableSortedBag<T>
of(Comparator<? super T> comparator, T... elements)
<T> MutableSortedBag<T>
of(T... elements)
<T> MutableSortedBag<T>
ofAll(Iterable<? extends T> items)
<T> MutableSortedBag<T>
ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)
<T> MutableSortedBag<T>
with()
<T> MutableSortedBag<T>
with(Comparator<? super T> comparator)
<T> MutableSortedBag<T>
with(Comparator<? super T> comparator, T... elements)
<T> MutableSortedBag<T>
with(T... elements)
<T> MutableSortedBag<T>
withAll(Iterable<? extends T> items)
<T> MutableSortedBag<T>
withAll(Comparator<? super T> comparator, Iterable<? extends T> items)
-
-
-
Field Detail
-
INSTANCE
public static final MutableSortedBagFactory INSTANCE
-
-
Method Detail
-
empty
public <T> MutableSortedBag<T> empty()
- Specified by:
empty
in interfaceMutableSortedBagFactory
-
empty
public <T> MutableSortedBag<T> empty(Comparator<? super T> comparator)
- Specified by:
empty
in interfaceMutableSortedBagFactory
-
of
public <T> MutableSortedBag<T> of()
- Specified by:
of
in interfaceMutableSortedBagFactory
-
with
public <T> MutableSortedBag<T> with()
- Specified by:
with
in interfaceMutableSortedBagFactory
-
of
public <T> MutableSortedBag<T> of(Comparator<? super T> comparator)
- Specified by:
of
in interfaceMutableSortedBagFactory
-
with
public <T> MutableSortedBag<T> with(Comparator<? super T> comparator)
- Specified by:
with
in interfaceMutableSortedBagFactory
-
of
public <T> MutableSortedBag<T> of(T... elements)
- Specified by:
of
in interfaceMutableSortedBagFactory
-
with
public <T> MutableSortedBag<T> with(T... elements)
- Specified by:
with
in interfaceMutableSortedBagFactory
-
of
public <T> MutableSortedBag<T> of(Comparator<? super T> comparator, T... elements)
- Specified by:
of
in interfaceMutableSortedBagFactory
-
with
public <T> MutableSortedBag<T> with(Comparator<? super T> comparator, T... elements)
- Specified by:
with
in interfaceMutableSortedBagFactory
-
ofAll
public <T> MutableSortedBag<T> ofAll(Iterable<? extends T> items)
- Specified by:
ofAll
in interfaceMutableSortedBagFactory
-
withAll
public <T> MutableSortedBag<T> withAll(Iterable<? extends T> items)
- Specified by:
withAll
in interfaceMutableSortedBagFactory
-
ofAll
public <T> MutableSortedBag<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)
- Specified by:
ofAll
in interfaceMutableSortedBagFactory
-
withAll
public <T> MutableSortedBag<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> items)
- Specified by:
withAll
in interfaceMutableSortedBagFactory
-
-