Top Methods
org.eclipse.collections.api.factory.set.sorted

public Interface MutableSortedSetFactory

Imports
java.util.Comparator, org.eclipse.collections.api.set.sorted.MutableSortedSet

Method Summary

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

public <T> MutableSortedSet<T>
of()

Same as empty().

public <T> MutableSortedSet<T>
of(T... items)

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

public <T> MutableSortedSet<T>
of(Comparator<? super T> comparator, T... items)

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

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

public <T> MutableSortedSet<T>
with()

Same as empty().

public <T> MutableSortedSet<T>
with(T... items)

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

public <T> MutableSortedSet<T>
with(Comparator<? super T> comparator, T... items)

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

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

Method Detail

emptyback to summary
public <T> MutableSortedSet<T> empty()
Since
6.0
emptyback to summary
public <T> MutableSortedSet<T> empty(Comparator<? super T> comparator)
Since
12.0
ofback to summary
public <T> MutableSortedSet<T> of()

Same as empty().

ofback to summary
public <T> MutableSortedSet<T> of(T... items)
ofback to summary
public <T> MutableSortedSet<T> of(Comparator<? super T> comparator)
ofback to summary
public <T> MutableSortedSet<T> of(Comparator<? super T> comparator, T... items)
ofAllback to summary
public <T> MutableSortedSet<T> ofAll(Iterable<? extends T> items)
ofAllback to summary
public <T> MutableSortedSet<T> ofAll(Comparator<? super T> comparator, Iterable<? extends T> items)
withback to summary
public <T> MutableSortedSet<T> with()

Same as empty().

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