Top Description Constructors Methods
org.eclipse.collections.impl.utility.internal

public final Class SortedSetIterables

extends Object
Class Inheritance
Imports
java.util.Comparator, .Iterator, .SortedSet, org.eclipse.collections.api.set.sorted.ImmutableSortedSet, .MutableSortedSet, .SortedSetIterable, org.eclipse.collections.impl.block.factory.Comparators, org.eclipse.collections.impl.set.sorted.mutable.TreeSortedSet, org.eclipse.collections.impl.utility.Iterate

SortedSet algebra operations.

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static <T> int
public static <T> ImmutableSortedSet<ImmutableSortedSet<T>>
immutablePowerSet(SortedSet<T> set)

Returns an Immutable version of powerset where the inner sets are also immutable.

public static <T> MutableSortedSet<MutableSortedSet<T>>
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

SortedSetIterablesback to summary
private SortedSetIterables()

Method Detail

compareback to summary
public static <T> int compare(SortedSetIterable<T> setA, SortedSetIterable<T> setB)
immutablePowerSetback to summary
public static <T> ImmutableSortedSet<ImmutableSortedSet<T>> immutablePowerSet(SortedSet<T> set)

Returns an Immutable version of powerset where the inner sets are also immutable.

powerSetback to summary
public static <T> MutableSortedSet<MutableSortedSet<T>> powerSet(SortedSet<T> set)