Class ImmutableSortedBagFactoryImpl
java.lang.Object
org.eclipse.collections.impl.bag.sorted.immutable.ImmutableSortedBagFactoryImpl
- All Implemented Interfaces:
ImmutableSortedBagFactory
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription<T> ImmutableSortedBag<T>
empty()
<T> ImmutableSortedBag<T>
empty
(Comparator<? super T> comparator) <T> ImmutableSortedBag<T>
of()
Same asImmutableSortedBagFactory.empty()
.<T> ImmutableSortedBag<T>
of
(Comparator<? super T> comparator) <T> ImmutableSortedBag<T>
of
(Comparator<? super T> comparator, T... items) <T> ImmutableSortedBag<T>
of
(T... items) <T> ImmutableSortedBag<T>
<T> ImmutableSortedBag<T>
ofAll
(Comparator<? super T> comparator, Iterable<? extends T> items) <T> ImmutableSortedBag<T>
ofSortedBag
(SortedBag<T> bag) <T> ImmutableSortedBag<T>
with()
Same asImmutableSortedBagFactory.empty()
.<T> ImmutableSortedBag<T>
with
(Comparator<? super T> comparator) <T> ImmutableSortedBag<T>
with
(Comparator<? super T> comparator, T... items) <T> ImmutableSortedBag<T>
with
(T... items) <T> ImmutableSortedBag<T>
<T> ImmutableSortedBag<T>
withAll
(Comparator<? super T> comparator, Iterable<? extends T> items) <T> ImmutableSortedBag<T>
withSortedBag
(SortedBag<T> bag)
-
Field Details
-
INSTANCE
-
-
Constructor Details
-
ImmutableSortedBagFactoryImpl
public ImmutableSortedBagFactoryImpl()
-
-
Method Details
-
empty
- Specified by:
empty
in interfaceImmutableSortedBagFactory
-
empty
- Specified by:
empty
in interfaceImmutableSortedBagFactory
-
of
Description copied from interface:ImmutableSortedBagFactory
Same asImmutableSortedBagFactory.empty()
.- Specified by:
of
in interfaceImmutableSortedBagFactory
-
with
Description copied from interface:ImmutableSortedBagFactory
Same asImmutableSortedBagFactory.empty()
.- Specified by:
with
in interfaceImmutableSortedBagFactory
-
of
Description copied from interface:ImmutableSortedBagFactory
- Specified by:
of
in interfaceImmutableSortedBagFactory
-
with
- Specified by:
with
in interfaceImmutableSortedBagFactory
-
ofAll
Description copied from interface:ImmutableSortedBagFactory
- Specified by:
ofAll
in interfaceImmutableSortedBagFactory
-
withAll
- Specified by:
withAll
in interfaceImmutableSortedBagFactory
-
of
Description copied from interface:ImmutableSortedBagFactory
- Specified by:
of
in interfaceImmutableSortedBagFactory
-
with
- Specified by:
with
in interfaceImmutableSortedBagFactory
-
of
Description copied from interface:ImmutableSortedBagFactory
- Specified by:
of
in interfaceImmutableSortedBagFactory
-
with
- Specified by:
with
in interfaceImmutableSortedBagFactory
-
ofAll
public <T> ImmutableSortedBag<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items) Description copied from interface:ImmutableSortedBagFactory
- Specified by:
ofAll
in interfaceImmutableSortedBagFactory
-
withAll
public <T> ImmutableSortedBag<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> items) - Specified by:
withAll
in interfaceImmutableSortedBagFactory
-
ofSortedBag
Description copied from interface:ImmutableSortedBagFactory
- Specified by:
ofSortedBag
in interfaceImmutableSortedBagFactory
-
withSortedBag
- Specified by:
withSortedBag
in interfaceImmutableSortedBagFactory
-