Class SortedSetIterables
- java.lang.Object
-
- org.eclipse.collections.impl.utility.internal.SortedSetIterables
-
public final class SortedSetIterables extends Object
SortedSet algebra operations.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <T> int
compare(SortedSetIterable<T> setA, SortedSetIterable<T> setB)
static <T> ImmutableSortedSet<ImmutableSortedSet<T>>
immutablePowerSet(SortedSet<T> set)
Returns an Immutable version of powerset where the inner sets are also immutable.static <T> MutableSortedSet<MutableSortedSet<T>>
powerSet(SortedSet<T> set)
-
-
-
Method Detail
-
powerSet
public static <T> MutableSortedSet<MutableSortedSet<T>> powerSet(SortedSet<T> set)
-
immutablePowerSet
public static <T> ImmutableSortedSet<ImmutableSortedSet<T>> immutablePowerSet(SortedSet<T> set)
Returns an Immutable version of powerset where the inner sets are also immutable.
-
compare
public static <T> int compare(SortedSetIterable<T> setA, SortedSetIterable<T> setB)
-
-