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
Modifier and Type Method Description <T> MutableSortedBag<T>empty()<T> MutableSortedBag<T>empty(Comparator<? super T> comparator)<T> MutableSortedBag<T>of()Same asMutableSortedBagFactory.with().<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 Details
-
Constructor Details
-
MutableSortedBagFactoryImpl
public MutableSortedBagFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
emptyin interfaceMutableSortedBagFactory
-
empty
- Specified by:
emptyin interfaceMutableSortedBagFactory
-
of
Description copied from interface:MutableSortedBagFactorySame asMutableSortedBagFactory.with().- Specified by:
ofin interfaceMutableSortedBagFactory
-
with
- Specified by:
within interfaceMutableSortedBagFactory
-
of
Description copied from interface:MutableSortedBagFactory- Specified by:
ofin interfaceMutableSortedBagFactory
-
with
- Specified by:
within interfaceMutableSortedBagFactory
-
of
Description copied from interface:MutableSortedBagFactory- Specified by:
ofin interfaceMutableSortedBagFactory
-
with
- Specified by:
within interfaceMutableSortedBagFactory
-
of
Description copied from interface:MutableSortedBagFactory- Specified by:
ofin interfaceMutableSortedBagFactory
-
with
- Specified by:
within interfaceMutableSortedBagFactory
-
ofAll
Description copied from interface:MutableSortedBagFactory- Specified by:
ofAllin interfaceMutableSortedBagFactory
-
withAll
- Specified by:
withAllin interfaceMutableSortedBagFactory
-
ofAll
public <T> MutableSortedBag<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)Description copied from interface:MutableSortedBagFactory- Specified by:
ofAllin interfaceMutableSortedBagFactory
-
withAll
public <T> MutableSortedBag<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> items)- Specified by:
withAllin interfaceMutableSortedBagFactory
-