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
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:
empty
in interfaceMutableSortedBagFactory
-
empty
- Specified by:
empty
in interfaceMutableSortedBagFactory
-
of
Description copied from interface:MutableSortedBagFactory
Same asMutableSortedBagFactory.with()
.- Specified by:
of
in interfaceMutableSortedBagFactory
-
with
- Specified by:
with
in interfaceMutableSortedBagFactory
-
of
Description copied from interface:MutableSortedBagFactory
- Specified by:
of
in interfaceMutableSortedBagFactory
-
with
- Specified by:
with
in interfaceMutableSortedBagFactory
-
of
Description copied from interface:MutableSortedBagFactory
- Specified by:
of
in interfaceMutableSortedBagFactory
-
with
- Specified by:
with
in interfaceMutableSortedBagFactory
-
of
Description copied from interface:MutableSortedBagFactory
- Specified by:
of
in interfaceMutableSortedBagFactory
-
with
- Specified by:
with
in interfaceMutableSortedBagFactory
-
ofAll
Description copied from interface:MutableSortedBagFactory
- Specified by:
ofAll
in interfaceMutableSortedBagFactory
-
withAll
- Specified by:
withAll
in interfaceMutableSortedBagFactory
-
ofAll
public <T> MutableSortedBag<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)Description copied from interface:MutableSortedBagFactory
- Specified by:
ofAll
in interfaceMutableSortedBagFactory
-
withAll
public <T> MutableSortedBag<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> items)- Specified by:
withAll
in interfaceMutableSortedBagFactory
-