Class ImmutableSortedBagFactoryImpl
java.lang.Object
org.eclipse.collections.impl.bag.sorted.immutable.ImmutableSortedBagFactoryImpl
- All Implemented Interfaces:
ImmutableSortedBagFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T> ImmutableSortedBag<T>empty()<T> ImmutableSortedBag<T>empty(Comparator<? super T> comparator) <T> ImmutableSortedBag<T>of()<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()<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:
emptyin interfaceImmutableSortedBagFactory
-
empty
- Specified by:
emptyin interfaceImmutableSortedBagFactory
-
of
- Specified by:
ofin interfaceImmutableSortedBagFactory
-
with
- Specified by:
within interfaceImmutableSortedBagFactory
-
of
- Specified by:
ofin interfaceImmutableSortedBagFactory
-
with
- Specified by:
within interfaceImmutableSortedBagFactory
-
ofAll
- Specified by:
ofAllin interfaceImmutableSortedBagFactory
-
withAll
- Specified by:
withAllin interfaceImmutableSortedBagFactory
-
of
- Specified by:
ofin interfaceImmutableSortedBagFactory
-
with
- Specified by:
within interfaceImmutableSortedBagFactory
-
of
- Specified by:
ofin interfaceImmutableSortedBagFactory
-
with
- Specified by:
within interfaceImmutableSortedBagFactory
-
ofAll
public <T> ImmutableSortedBag<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items) - Specified by:
ofAllin interfaceImmutableSortedBagFactory
-
withAll
public <T> ImmutableSortedBag<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> items) - Specified by:
withAllin interfaceImmutableSortedBagFactory
-
ofSortedBag
- Specified by:
ofSortedBagin interfaceImmutableSortedBagFactory
-
withSortedBag
- Specified by:
withSortedBagin interfaceImmutableSortedBagFactory
-