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 MutableSortedBagFactoryINSTANCE
-
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:
emptyin interfaceMutableSortedBagFactory
-
empty
public <T> MutableSortedBag<T> empty(Comparator<? super T> comparator)
- Specified by:
emptyin interfaceMutableSortedBagFactory
-
of
public <T> MutableSortedBag<T> of()
- Specified by:
ofin interfaceMutableSortedBagFactory
-
with
public <T> MutableSortedBag<T> with()
- Specified by:
within interfaceMutableSortedBagFactory
-
of
public <T> MutableSortedBag<T> of(Comparator<? super T> comparator)
- Specified by:
ofin interfaceMutableSortedBagFactory
-
with
public <T> MutableSortedBag<T> with(Comparator<? super T> comparator)
- Specified by:
within interfaceMutableSortedBagFactory
-
of
public <T> MutableSortedBag<T> of(T... elements)
- Specified by:
ofin interfaceMutableSortedBagFactory
-
with
public <T> MutableSortedBag<T> with(T... elements)
- Specified by:
within interfaceMutableSortedBagFactory
-
of
public <T> MutableSortedBag<T> of(Comparator<? super T> comparator, T... elements)
- Specified by:
ofin interfaceMutableSortedBagFactory
-
with
public <T> MutableSortedBag<T> with(Comparator<? super T> comparator, T... elements)
- Specified by:
within interfaceMutableSortedBagFactory
-
ofAll
public <T> MutableSortedBag<T> ofAll(Iterable<? extends T> items)
- Specified by:
ofAllin interfaceMutableSortedBagFactory
-
withAll
public <T> MutableSortedBag<T> withAll(Iterable<? extends T> items)
- Specified by:
withAllin interfaceMutableSortedBagFactory
-
ofAll
public <T> MutableSortedBag<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)
- Specified by:
ofAllin interfaceMutableSortedBagFactory
-
withAll
public <T> MutableSortedBag<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> items)
- Specified by:
withAllin interfaceMutableSortedBagFactory
-
-