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

public Interface ImmutableSortedSetFactory

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

Method Summary

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

public <T> ImmutableSortedSet<T>
of()

Same as empty().

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

Same as with(Object[]).

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

Same as with(Comparator).

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

Same as with(Comparator, Object[]).

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

Same as withAll(Iterable).

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

Same as withAll(Comparator, Iterable).

public <T> ImmutableSortedSet<T>
public <T> ImmutableSortedSet<T>
with()

Same as empty().

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

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

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

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

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

public <T> ImmutableSortedSet<T>

Method Detail

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

Same as empty().

ofback to summary
public <T> ImmutableSortedSet<T> of(T... items)

Same as with(Object[]).

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

Same as with(Comparator).

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

Same as with(Comparator, Object[]).

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

Same as withAll(Iterable).

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

Same as withAll(Comparator, Iterable).

ofSortedSetback to summary
public <T> ImmutableSortedSet<T> ofSortedSet(SortedSet<T> set)

Same as withSortedSet(SortedSet).

withback to summary
public <T> ImmutableSortedSet<T> with()

Same as empty().

withback to summary
public <T> ImmutableSortedSet<T> with(T... items)
withback to summary
public <T> ImmutableSortedSet<T> with(Comparator<? super T> comparator)
withback to summary
public <T> ImmutableSortedSet<T> with(Comparator<? super T> comparator, T... items)
withAllback to summary
public <T> ImmutableSortedSet<T> withAll(Iterable<? extends T> items)
withAllback to summary
public <T> ImmutableSortedSet<T> withAll(Comparator<? super T> comparator, Iterable<? extends T> items)
withSortedSetback to summary
public <T> ImmutableSortedSet<T> withSortedSet(SortedSet<T> set)