Top Description Methods
org.eclipse.collections.api.factory.bag.sorted

public Interface MutableSortedBagFactory

Imports
java.util.Comparator, org.eclipse.collections.api.bag.sorted.MutableSortedBag

A factory which creates instances of type MutableSortedBag.
Since
6.0

Method Summary

Modifier and TypeMethod and Description
public <T> MutableSortedBag<T>
public <T> MutableSortedBag<T>
empty(Comparator<? super T> comparator)

public <T> MutableSortedBag<T>
of()

Same as with().

public <T> MutableSortedBag<T>
of(Comparator<? super T> comparator)

Same as with(Comparator).

public <T> MutableSortedBag<T>
of(T... elements)

Same as with(Object[]).

public <T> MutableSortedBag<T>
of(Comparator<? super T> comparator, T... elements)

Same as with(Comparator, Object[]).

public <T> MutableSortedBag<T>
ofAll(Iterable<? extends T> items)

Same as withAll(Comparator, Iterable).

public <T> MutableSortedBag<T>
ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)

Same as withAll(Comparator, Iterable)

public <T> MutableSortedBag<T>
with()

public <T> MutableSortedBag<T>
with(Comparator<? super T> comparator)

public <T> MutableSortedBag<T>
with(T... elements)

public <T> MutableSortedBag<T>
with(Comparator<? super T> comparator, T... elements)

public <T> MutableSortedBag<T>
withAll(Iterable<? extends T> items)

public <T> MutableSortedBag<T>
withAll(Comparator<? super T> comparator, Iterable<? extends T> items)

Method Detail

emptyback to summary
public <T> MutableSortedBag<T> empty()
emptyback to summary
public <T> MutableSortedBag<T> empty(Comparator<? super T> comparator)
ofback to summary
public <T> MutableSortedBag<T> of()

Same as with().

ofback to summary
public <T> MutableSortedBag<T> of(Comparator<? super T> comparator)

Same as with(Comparator).

ofback to summary
public <T> MutableSortedBag<T> of(T... elements)

Same as with(Object[]).

ofback to summary
public <T> MutableSortedBag<T> of(Comparator<? super T> comparator, T... elements)

Same as with(Comparator, Object[]).

ofAllback to summary
public <T> MutableSortedBag<T> ofAll(Iterable<? extends T> items)

Same as withAll(Comparator, Iterable).

ofAllback to summary
public <T> MutableSortedBag<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)

Same as withAll(Comparator, Iterable)

withback to summary
public <T> MutableSortedBag<T> with()
withback to summary
public <T> MutableSortedBag<T> with(Comparator<? super T> comparator)
withback to summary
public <T> MutableSortedBag<T> with(T... elements)
withback to summary
public <T> MutableSortedBag<T> with(Comparator<? super T> comparator, T... elements)
withAllback to summary
public <T> MutableSortedBag<T> withAll(Iterable<? extends T> items)
withAllback to summary
public <T> MutableSortedBag<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> items)