Class MutableSortedBagFactoryImpl
- java.lang.Object
-
- org.eclipse.collections.impl.bag.sorted.mutable.MutableSortedBagFactoryImpl
-
- All Implemented Interfaces:
MutableSortedBagFactory
public class MutableSortedBagFactoryImpl extends java.lang.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(java.util.Comparator<? super T> comparator)
<T> MutableSortedBag<T>
of()
Same asMutableSortedBagFactory.with()
.<T> MutableSortedBag<T>
of(java.util.Comparator<? super T> comparator)
<T> MutableSortedBag<T>
of(java.util.Comparator<? super T> comparator, T... elements)
<T> MutableSortedBag<T>
of(T... elements)
<T> MutableSortedBag<T>
ofAll(java.lang.Iterable<? extends T> items)
<T> MutableSortedBag<T>
ofAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
<T> MutableSortedBag<T>
with()
<T> MutableSortedBag<T>
with(java.util.Comparator<? super T> comparator)
<T> MutableSortedBag<T>
with(java.util.Comparator<? super T> comparator, T... elements)
<T> MutableSortedBag<T>
with(T... elements)
<T> MutableSortedBag<T>
withAll(java.lang.Iterable<? extends T> items)
<T> MutableSortedBag<T>
withAll(java.util.Comparator<? super T> comparator, java.lang.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(java.util.Comparator<? super T> comparator)
- Specified by:
empty
in interfaceMutableSortedBagFactory
-
of
public <T> MutableSortedBag<T> of()
Description copied from interface:MutableSortedBagFactory
Same asMutableSortedBagFactory.with()
.- Specified by:
of
in interfaceMutableSortedBagFactory
-
with
public <T> MutableSortedBag<T> with()
- Specified by:
with
in interfaceMutableSortedBagFactory
-
of
public <T> MutableSortedBag<T> of(java.util.Comparator<? super T> comparator)
Description copied from interface:MutableSortedBagFactory
- Specified by:
of
in interfaceMutableSortedBagFactory
-
with
public <T> MutableSortedBag<T> with(java.util.Comparator<? super T> comparator)
- Specified by:
with
in interfaceMutableSortedBagFactory
-
of
public <T> MutableSortedBag<T> of(T... elements)
Description copied from interface:MutableSortedBagFactory
- Specified by:
of
in interfaceMutableSortedBagFactory
-
with
public <T> MutableSortedBag<T> with(T... elements)
- Specified by:
with
in interfaceMutableSortedBagFactory
-
of
public <T> MutableSortedBag<T> of(java.util.Comparator<? super T> comparator, T... elements)
Description copied from interface:MutableSortedBagFactory
- Specified by:
of
in interfaceMutableSortedBagFactory
-
with
public <T> MutableSortedBag<T> with(java.util.Comparator<? super T> comparator, T... elements)
- Specified by:
with
in interfaceMutableSortedBagFactory
-
ofAll
public <T> MutableSortedBag<T> ofAll(java.lang.Iterable<? extends T> items)
Description copied from interface:MutableSortedBagFactory
- Specified by:
ofAll
in interfaceMutableSortedBagFactory
-
withAll
public <T> MutableSortedBag<T> withAll(java.lang.Iterable<? extends T> items)
- Specified by:
withAll
in interfaceMutableSortedBagFactory
-
ofAll
public <T> MutableSortedBag<T> ofAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
Description copied from interface:MutableSortedBagFactory
- Specified by:
ofAll
in interfaceMutableSortedBagFactory
-
withAll
public <T> MutableSortedBag<T> withAll(java.util.Comparator<? super T> comparator, java.lang.Iterable<? extends T> items)
- Specified by:
withAll
in interfaceMutableSortedBagFactory
-
-