Class UnmodifiableSortedSet<T>
- java.lang.Object
-
- org.eclipse.collections.impl.collection.mutable.AbstractUnmodifiableMutableCollection<T>
-
- org.eclipse.collections.impl.set.sorted.mutable.UnmodifiableSortedSet<T>
-
- All Implemented Interfaces:
Serializable,Cloneable,Comparable<SortedSetIterable<T>>,Iterable<T>,Collection<T>,Set<T>,SortedSet<T>,MutableCollection<T>,InternalIterable<T>,OrderedIterable<T>,ReversibleIterable<T>,SortedIterable<T>,RichIterable<T>,MutableSetIterable<T>,SetIterable<T>,MutableSortedSet<T>,SortedSetIterable<T>
public class UnmodifiableSortedSet<T> extends AbstractUnmodifiableMutableCollection<T> implements MutableSortedSet<T>, Serializable
An unmodifiable view of a SortedSet.- See Also:
MutableSortedSet.asUnmodifiable(), Serialized Form
-
-
Method Summary
-
Methods inherited from class org.eclipse.collections.impl.collection.mutable.AbstractUnmodifiableMutableCollection
add, addAll, addAllIterable, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, clear, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, containsAny, containsAnyIterable, containsNone, containsNoneIterable, count, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, flatCollect, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, forEachWith, forEachWithIndex, getFirst, getLast, getOnly, groupBy, groupByEach, groupByUniqueKey, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, injectIntoWith, into, isEmpty, iterator, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, notEmpty, reject, rejectWith, remove, removeAll, removeAllIterable, removeIf, removeIfWith, retainAll, retainAllIterable, select, selectAndRejectWith, selectWith, size, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedList, toSortedList, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toString
-
Methods inherited from interface java.util.Collection
parallelStream, removeIf, stream, toArray
-
Methods inherited from interface org.eclipse.collections.api.InternalIterable
forEach, forEachWith
-
Methods inherited from interface org.eclipse.collections.api.collection.MutableCollection
addAllIterable, aggregateBy, aggregateInPlaceBy, countBy, countByEach, countByWith, groupByUniqueKey, injectIntoWith, removeAllIterable, removeIf, removeIfWith, retainAllIterable, selectAndRejectWith, sumByDouble, sumByFloat, sumByInt, sumByLong
-
Methods inherited from interface org.eclipse.collections.api.set.sorted.MutableSortedSet
flatCollectWith, getFirst, getLast, toImmutableSortedSet
-
Methods inherited from interface org.eclipse.collections.api.ordered.OrderedIterable
forEachWithIndex, getFirstOptional, getLastOptional, rejectWithIndex, selectWithIndex, toStack
-
Methods inherited from interface org.eclipse.collections.api.RichIterable
aggregateBy, allSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, appendString, asLazy, chunk, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, containsAny, containsAnyIterable, containsBy, containsNone, containsNoneIterable, count, countBy, countByEach, countByWith, countWith, detect, detectIfNone, detectOptional, detectWith, detectWithIfNone, detectWithOptional, each, flatCollect, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, flatCollectWith, forEach, getAny, getOnly, groupBy, groupByAndCollect, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, into, isEmpty, makeString, makeString, makeString, makeString, max, maxBy, maxByOptional, maxOptional, maxOptional, min, minBy, minByOptional, minOptional, minOptional, noneSatisfy, noneSatisfyWith, notEmpty, reduce, reduceInPlace, reduceInPlace, reject, rejectWith, select, selectWith, size, summarizeDouble, summarizeFloat, summarizeInt, summarizeLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toImmutableBag, toImmutableBiMap, toImmutableList, toImmutableMap, toImmutableSet, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSetBy, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, toString
-
Methods inherited from interface java.util.Set
add, addAll, clear, contains, containsAll, isEmpty, iterator, remove, removeAll, retainAll, size, toArray, toArray
-
Methods inherited from interface org.eclipse.collections.api.ordered.SortedIterable
max, min
-
Methods inherited from interface java.util.SortedSet
spliterator
-
-
-
-
Method Detail
-
of
public static <E,S extends SortedSet<E>> UnmodifiableSortedSet<E> of(S set)
This method will take a MutableSortedSet and wrap it directly in a UnmodifiableSortedSet. It will take any other non-Eclipse-Collections SortedSet and first adapt it will a SortedSetAdapter, and then return a UnmodifiableSortedSet that wraps the adapter.
-
asUnmodifiable
public MutableSortedSet<T> asUnmodifiable()
- Specified by:
asUnmodifiablein interfaceMutableCollection<T>- Specified by:
asUnmodifiablein interfaceMutableSortedSet<T>- Overrides:
asUnmodifiablein classAbstractUnmodifiableMutableCollection<T>
-
asSynchronized
public MutableSortedSet<T> asSynchronized()
- Specified by:
asSynchronizedin interfaceMutableCollection<T>- Specified by:
asSynchronizedin interfaceMutableSortedSet<T>- Overrides:
asSynchronizedin classAbstractUnmodifiableMutableCollection<T>
-
toImmutable
public ImmutableSortedSet<T> toImmutable()
- Specified by:
toImmutablein interfaceMutableCollection<T>- Specified by:
toImmutablein interfaceMutableSortedSet<T>- Specified by:
toImmutablein interfaceSetIterable<T>- Specified by:
toImmutablein interfaceSortedSetIterable<T>- Overrides:
toImmutablein classAbstractUnmodifiableMutableCollection<T>
-
equals
public boolean equals(Object obj)
-
hashCode
public int hashCode()
-
clone
public UnmodifiableSortedSet<T> clone()
- Specified by:
clonein interfaceMutableSortedSet<T>
-
newEmpty
public MutableSortedSet<T> newEmpty()
- Specified by:
newEmptyin interfaceMutableCollection<T>- Specified by:
newEmptyin interfaceMutableSortedSet<T>- Overrides:
newEmptyin classAbstractUnmodifiableMutableCollection<T>
-
tap
public MutableSortedSet<T> tap(Procedure<? super T> procedure)
- Specified by:
tapin interfaceMutableCollection<T>- Specified by:
tapin interfaceMutableSetIterable<T>- Specified by:
tapin interfaceMutableSortedSet<T>- Specified by:
tapin interfaceOrderedIterable<T>- Specified by:
tapin interfaceReversibleIterable<T>- Specified by:
tapin interfaceRichIterable<T>- Specified by:
tapin interfaceSetIterable<T>- Specified by:
tapin interfaceSortedIterable<T>- Specified by:
tapin interfaceSortedSetIterable<T>- Overrides:
tapin classAbstractUnmodifiableMutableCollection<T>
-
select
public MutableSortedSet<T> select(Predicate<? super T> predicate)
- Specified by:
selectin interfaceMutableCollection<T>- Specified by:
selectin interfaceMutableSetIterable<T>- Specified by:
selectin interfaceMutableSortedSet<T>- Specified by:
selectin interfaceOrderedIterable<T>- Specified by:
selectin interfaceReversibleIterable<T>- Specified by:
selectin interfaceRichIterable<T>- Specified by:
selectin interfaceSetIterable<T>- Specified by:
selectin interfaceSortedIterable<T>- Specified by:
selectin interfaceSortedSetIterable<T>- Overrides:
selectin classAbstractUnmodifiableMutableCollection<T>
-
selectWith
public <P> MutableSortedSet<T> selectWith(Predicate2<? super T,? super P> predicate, P parameter)
- Specified by:
selectWithin interfaceMutableCollection<T>- Specified by:
selectWithin interfaceMutableSetIterable<T>- Specified by:
selectWithin interfaceMutableSortedSet<T>- Specified by:
selectWithin interfaceOrderedIterable<T>- Specified by:
selectWithin interfaceReversibleIterable<T>- Specified by:
selectWithin interfaceRichIterable<T>- Specified by:
selectWithin interfaceSetIterable<T>- Specified by:
selectWithin interfaceSortedIterable<T>- Specified by:
selectWithin interfaceSortedSetIterable<T>- Overrides:
selectWithin classAbstractUnmodifiableMutableCollection<T>
-
reject
public MutableSortedSet<T> reject(Predicate<? super T> predicate)
- Specified by:
rejectin interfaceMutableCollection<T>- Specified by:
rejectin interfaceMutableSetIterable<T>- Specified by:
rejectin interfaceMutableSortedSet<T>- Specified by:
rejectin interfaceOrderedIterable<T>- Specified by:
rejectin interfaceReversibleIterable<T>- Specified by:
rejectin interfaceRichIterable<T>- Specified by:
rejectin interfaceSetIterable<T>- Specified by:
rejectin interfaceSortedIterable<T>- Specified by:
rejectin interfaceSortedSetIterable<T>- Overrides:
rejectin classAbstractUnmodifiableMutableCollection<T>
-
rejectWith
public <P> MutableSortedSet<T> rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
- Specified by:
rejectWithin interfaceMutableCollection<T>- Specified by:
rejectWithin interfaceMutableSetIterable<T>- Specified by:
rejectWithin interfaceMutableSortedSet<T>- Specified by:
rejectWithin interfaceOrderedIterable<T>- Specified by:
rejectWithin interfaceReversibleIterable<T>- Specified by:
rejectWithin interfaceRichIterable<T>- Specified by:
rejectWithin interfaceSetIterable<T>- Specified by:
rejectWithin interfaceSortedIterable<T>- Specified by:
rejectWithin interfaceSortedSetIterable<T>- Overrides:
rejectWithin classAbstractUnmodifiableMutableCollection<T>
-
partition
public PartitionMutableSortedSet<T> partition(Predicate<? super T> predicate)
- Specified by:
partitionin interfaceMutableCollection<T>- Specified by:
partitionin interfaceMutableSetIterable<T>- Specified by:
partitionin interfaceMutableSortedSet<T>- Specified by:
partitionin interfaceOrderedIterable<T>- Specified by:
partitionin interfaceReversibleIterable<T>- Specified by:
partitionin interfaceRichIterable<T>- Specified by:
partitionin interfaceSetIterable<T>- Specified by:
partitionin interfaceSortedIterable<T>- Specified by:
partitionin interfaceSortedSetIterable<T>- Overrides:
partitionin classAbstractUnmodifiableMutableCollection<T>
-
partitionWith
public <P> PartitionMutableSortedSet<T> partitionWith(Predicate2<? super T,? super P> predicate, P parameter)
- Specified by:
partitionWithin interfaceMutableCollection<T>- Specified by:
partitionWithin interfaceMutableSetIterable<T>- Specified by:
partitionWithin interfaceMutableSortedSet<T>- Specified by:
partitionWithin interfaceOrderedIterable<T>- Specified by:
partitionWithin interfaceReversibleIterable<T>- Specified by:
partitionWithin interfaceRichIterable<T>- Specified by:
partitionWithin interfaceSetIterable<T>- Specified by:
partitionWithin interfaceSortedSetIterable<T>- Overrides:
partitionWithin classAbstractUnmodifiableMutableCollection<T>
-
partitionWhile
public PartitionMutableSortedSet<T> partitionWhile(Predicate<? super T> predicate)
- Specified by:
partitionWhilein interfaceMutableSortedSet<T>- Specified by:
partitionWhilein interfaceOrderedIterable<T>- Specified by:
partitionWhilein interfaceReversibleIterable<T>- Specified by:
partitionWhilein interfaceSortedIterable<T>- Specified by:
partitionWhilein interfaceSortedSetIterable<T>
-
selectInstancesOf
public <S> MutableSortedSet<S> selectInstancesOf(Class<S> clazz)
- Specified by:
selectInstancesOfin interfaceMutableCollection<T>- Specified by:
selectInstancesOfin interfaceMutableSetIterable<T>- Specified by:
selectInstancesOfin interfaceMutableSortedSet<T>- Specified by:
selectInstancesOfin interfaceOrderedIterable<T>- Specified by:
selectInstancesOfin interfaceReversibleIterable<T>- Specified by:
selectInstancesOfin interfaceRichIterable<T>- Specified by:
selectInstancesOfin interfaceSetIterable<T>- Specified by:
selectInstancesOfin interfaceSortedIterable<T>- Specified by:
selectInstancesOfin interfaceSortedSetIterable<T>- Overrides:
selectInstancesOfin classAbstractUnmodifiableMutableCollection<T>
-
collect
public <V> MutableList<V> collect(Function<? super T,? extends V> function)
- Specified by:
collectin interfaceMutableCollection<T>- Specified by:
collectin interfaceMutableSortedSet<T>- Specified by:
collectin interfaceOrderedIterable<T>- Specified by:
collectin interfaceReversibleIterable<T>- Specified by:
collectin interfaceRichIterable<T>- Specified by:
collectin interfaceSortedSetIterable<T>- Overrides:
collectin classAbstractUnmodifiableMutableCollection<T>
-
collectBoolean
public MutableBooleanList collectBoolean(BooleanFunction<? super T> booleanFunction)
- Specified by:
collectBooleanin interfaceMutableCollection<T>- Specified by:
collectBooleanin interfaceMutableSortedSet<T>- Specified by:
collectBooleanin interfaceOrderedIterable<T>- Specified by:
collectBooleanin interfaceReversibleIterable<T>- Specified by:
collectBooleanin interfaceRichIterable<T>- Specified by:
collectBooleanin interfaceSortedSetIterable<T>- Overrides:
collectBooleanin classAbstractUnmodifiableMutableCollection<T>
-
collectByte
public MutableByteList collectByte(ByteFunction<? super T> byteFunction)
- Specified by:
collectBytein interfaceMutableCollection<T>- Specified by:
collectBytein interfaceMutableSortedSet<T>- Specified by:
collectBytein interfaceOrderedIterable<T>- Specified by:
collectBytein interfaceReversibleIterable<T>- Specified by:
collectBytein interfaceRichIterable<T>- Specified by:
collectBytein interfaceSortedSetIterable<T>- Overrides:
collectBytein classAbstractUnmodifiableMutableCollection<T>
-
collectChar
public MutableCharList collectChar(CharFunction<? super T> charFunction)
- Specified by:
collectCharin interfaceMutableCollection<T>- Specified by:
collectCharin interfaceMutableSortedSet<T>- Specified by:
collectCharin interfaceOrderedIterable<T>- Specified by:
collectCharin interfaceReversibleIterable<T>- Specified by:
collectCharin interfaceRichIterable<T>- Specified by:
collectCharin interfaceSortedSetIterable<T>- Overrides:
collectCharin classAbstractUnmodifiableMutableCollection<T>
-
collectDouble
public MutableDoubleList collectDouble(DoubleFunction<? super T> doubleFunction)
- Specified by:
collectDoublein interfaceMutableCollection<T>- Specified by:
collectDoublein interfaceMutableSortedSet<T>- Specified by:
collectDoublein interfaceOrderedIterable<T>- Specified by:
collectDoublein interfaceReversibleIterable<T>- Specified by:
collectDoublein interfaceRichIterable<T>- Specified by:
collectDoublein interfaceSortedSetIterable<T>- Overrides:
collectDoublein classAbstractUnmodifiableMutableCollection<T>
-
collectFloat
public MutableFloatList collectFloat(FloatFunction<? super T> floatFunction)
- Specified by:
collectFloatin interfaceMutableCollection<T>- Specified by:
collectFloatin interfaceMutableSortedSet<T>- Specified by:
collectFloatin interfaceOrderedIterable<T>- Specified by:
collectFloatin interfaceReversibleIterable<T>- Specified by:
collectFloatin interfaceRichIterable<T>- Specified by:
collectFloatin interfaceSortedSetIterable<T>- Overrides:
collectFloatin classAbstractUnmodifiableMutableCollection<T>
-
collectInt
public MutableIntList collectInt(IntFunction<? super T> intFunction)
- Specified by:
collectIntin interfaceMutableCollection<T>- Specified by:
collectIntin interfaceMutableSortedSet<T>- Specified by:
collectIntin interfaceOrderedIterable<T>- Specified by:
collectIntin interfaceReversibleIterable<T>- Specified by:
collectIntin interfaceRichIterable<T>- Specified by:
collectIntin interfaceSortedSetIterable<T>- Overrides:
collectIntin classAbstractUnmodifiableMutableCollection<T>
-
collectLong
public MutableLongList collectLong(LongFunction<? super T> longFunction)
- Specified by:
collectLongin interfaceMutableCollection<T>- Specified by:
collectLongin interfaceMutableSortedSet<T>- Specified by:
collectLongin interfaceOrderedIterable<T>- Specified by:
collectLongin interfaceReversibleIterable<T>- Specified by:
collectLongin interfaceRichIterable<T>- Specified by:
collectLongin interfaceSortedSetIterable<T>- Overrides:
collectLongin classAbstractUnmodifiableMutableCollection<T>
-
collectShort
public MutableShortList collectShort(ShortFunction<? super T> shortFunction)
- Specified by:
collectShortin interfaceMutableCollection<T>- Specified by:
collectShortin interfaceMutableSortedSet<T>- Specified by:
collectShortin interfaceOrderedIterable<T>- Specified by:
collectShortin interfaceReversibleIterable<T>- Specified by:
collectShortin interfaceRichIterable<T>- Specified by:
collectShortin interfaceSortedSetIterable<T>- Overrides:
collectShortin classAbstractUnmodifiableMutableCollection<T>
-
flatCollect
public <V> MutableList<V> flatCollect(Function<? super T,? extends Iterable<V>> function)
- Specified by:
flatCollectin interfaceMutableCollection<T>- Specified by:
flatCollectin interfaceMutableSortedSet<T>- Specified by:
flatCollectin interfaceOrderedIterable<T>- Specified by:
flatCollectin interfaceReversibleIterable<T>- Specified by:
flatCollectin interfaceRichIterable<T>- Specified by:
flatCollectin interfaceSortedSetIterable<T>- Overrides:
flatCollectin classAbstractUnmodifiableMutableCollection<T>
-
collectWith
public <P,A> MutableList<A> collectWith(Function2<? super T,? super P,? extends A> function, P parameter)
- Specified by:
collectWithin interfaceMutableCollection<T>- Specified by:
collectWithin interfaceMutableSortedSet<T>- Specified by:
collectWithin interfaceOrderedIterable<T>- Specified by:
collectWithin interfaceReversibleIterable<T>- Specified by:
collectWithin interfaceRichIterable<T>- Specified by:
collectWithin interfaceSortedSetIterable<T>- Overrides:
collectWithin classAbstractUnmodifiableMutableCollection<T>
-
collectWithIndex
public <V> MutableList<V> collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function)
- Specified by:
collectWithIndexin interfaceMutableSortedSet<T>- Specified by:
collectWithIndexin interfaceOrderedIterable<T>- Specified by:
collectWithIndexin interfaceReversibleIterable<T>- Specified by:
collectWithIndexin interfaceSortedSetIterable<T>- Since:
- 9.1
-
collectWithIndex
public <V,R extends Collection<V>> R collectWithIndex(ObjectIntToObjectFunction<? super T,? extends V> function, R target)
- Specified by:
collectWithIndexin interfaceOrderedIterable<T>- Since:
- 9.1
-
collectIf
public <V> MutableList<V> collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
- Specified by:
collectIfin interfaceMutableCollection<T>- Specified by:
collectIfin interfaceMutableSortedSet<T>- Specified by:
collectIfin interfaceOrderedIterable<T>- Specified by:
collectIfin interfaceReversibleIterable<T>- Specified by:
collectIfin interfaceRichIterable<T>- Specified by:
collectIfin interfaceSortedSetIterable<T>- Overrides:
collectIfin classAbstractUnmodifiableMutableCollection<T>
-
distinct
public MutableSortedSet<T> distinct()
- Specified by:
distinctin interfaceMutableSortedSet<T>- Specified by:
distinctin interfaceOrderedIterable<T>- Specified by:
distinctin interfaceReversibleIterable<T>- Specified by:
distinctin interfaceSortedIterable<T>- Specified by:
distinctin interfaceSortedSetIterable<T>
-
takeWhile
public MutableSortedSet<T> takeWhile(Predicate<? super T> predicate)
- Specified by:
takeWhilein interfaceMutableSortedSet<T>- Specified by:
takeWhilein interfaceOrderedIterable<T>- Specified by:
takeWhilein interfaceReversibleIterable<T>- Specified by:
takeWhilein interfaceSortedIterable<T>- Specified by:
takeWhilein interfaceSortedSetIterable<T>
-
dropWhile
public MutableSortedSet<T> dropWhile(Predicate<? super T> predicate)
- Specified by:
dropWhilein interfaceMutableSortedSet<T>- Specified by:
dropWhilein interfaceOrderedIterable<T>- Specified by:
dropWhilein interfaceReversibleIterable<T>- Specified by:
dropWhilein interfaceSortedIterable<T>- Specified by:
dropWhilein interfaceSortedSetIterable<T>
-
detectIndex
public int detectIndex(Predicate<? super T> predicate)
- Specified by:
detectIndexin interfaceOrderedIterable<T>
-
groupBy
public <V> MutableSortedSetMultimap<V,T> groupBy(Function<? super T,? extends V> function)
- Specified by:
groupByin interfaceMutableCollection<T>- Specified by:
groupByin interfaceMutableSetIterable<T>- Specified by:
groupByin interfaceMutableSortedSet<T>- Specified by:
groupByin interfaceOrderedIterable<T>- Specified by:
groupByin interfaceReversibleIterable<T>- Specified by:
groupByin interfaceRichIterable<T>- Specified by:
groupByin interfaceSortedIterable<T>- Specified by:
groupByin interfaceSortedSetIterable<T>- Overrides:
groupByin classAbstractUnmodifiableMutableCollection<T>
-
groupByEach
public <V> MutableSortedSetMultimap<V,T> groupByEach(Function<? super T,? extends Iterable<V>> function)
- Specified by:
groupByEachin interfaceMutableCollection<T>- Specified by:
groupByEachin interfaceMutableSetIterable<T>- Specified by:
groupByEachin interfaceMutableSortedSet<T>- Specified by:
groupByEachin interfaceOrderedIterable<T>- Specified by:
groupByEachin interfaceReversibleIterable<T>- Specified by:
groupByEachin interfaceRichIterable<T>- Specified by:
groupByEachin interfaceSortedIterable<T>- Specified by:
groupByEachin interfaceSortedSetIterable<T>- Overrides:
groupByEachin classAbstractUnmodifiableMutableCollection<T>
-
zip
public <S> MutableList<Pair<T,S>> zip(Iterable<S> that)
- Specified by:
zipin interfaceMutableCollection<T>- Specified by:
zipin interfaceMutableSetIterable<T>- Specified by:
zipin interfaceMutableSortedSet<T>- Specified by:
zipin interfaceOrderedIterable<T>- Specified by:
zipin interfaceReversibleIterable<T>- Specified by:
zipin interfaceRichIterable<T>- Specified by:
zipin interfaceSortedIterable<T>- Overrides:
zipin classAbstractUnmodifiableMutableCollection<T>
-
zip
public <S,R extends Collection<Pair<T,S>>> R zip(Iterable<S> that, R target)
- Specified by:
zipin interfaceOrderedIterable<T>- Specified by:
zipin interfaceRichIterable<T>- Overrides:
zipin classAbstractUnmodifiableMutableCollection<T>
-
zipWithIndex
public MutableSortedSet<Pair<T,Integer>> zipWithIndex()
- Specified by:
zipWithIndexin interfaceMutableCollection<T>- Specified by:
zipWithIndexin interfaceMutableSetIterable<T>- Specified by:
zipWithIndexin interfaceMutableSortedSet<T>- Specified by:
zipWithIndexin interfaceOrderedIterable<T>- Specified by:
zipWithIndexin interfaceReversibleIterable<T>- Specified by:
zipWithIndexin interfaceRichIterable<T>- Specified by:
zipWithIndexin interfaceSetIterable<T>- Specified by:
zipWithIndexin interfaceSortedIterable<T>- Specified by:
zipWithIndexin interfaceSortedSetIterable<T>- Overrides:
zipWithIndexin classAbstractUnmodifiableMutableCollection<T>
-
zipWithIndex
public <R extends Collection<Pair<T,Integer>>> R zipWithIndex(R target)
- Specified by:
zipWithIndexin interfaceOrderedIterable<T>- Specified by:
zipWithIndexin interfaceRichIterable<T>- Overrides:
zipWithIndexin classAbstractUnmodifiableMutableCollection<T>
-
comparator
public Comparator<? super T> comparator()
- Specified by:
comparatorin interfaceSortedIterable<T>- Specified by:
comparatorin interfaceSortedSet<T>- Specified by:
comparatorin interfaceSortedSetIterable<T>
-
union
public MutableSortedSet<T> union(SetIterable<? extends T> set)
- Specified by:
unionin interfaceMutableSortedSet<T>- Specified by:
unionin interfaceSetIterable<T>- Specified by:
unionin interfaceSortedSetIterable<T>
-
unionInto
public <R extends Set<T>> R unionInto(SetIterable<? extends T> set, R targetSet)
- Specified by:
unionIntoin interfaceSetIterable<T>
-
intersect
public MutableSortedSet<T> intersect(SetIterable<? extends T> set)
- Specified by:
intersectin interfaceMutableSortedSet<T>- Specified by:
intersectin interfaceSetIterable<T>- Specified by:
intersectin interfaceSortedSetIterable<T>
-
intersectInto
public <R extends Set<T>> R intersectInto(SetIterable<? extends T> set, R targetSet)
- Specified by:
intersectIntoin interfaceSetIterable<T>
-
difference
public MutableSortedSet<T> difference(SetIterable<? extends T> subtrahendSet)
- Specified by:
differencein interfaceMutableSortedSet<T>- Specified by:
differencein interfaceSetIterable<T>- Specified by:
differencein interfaceSortedSetIterable<T>
-
differenceInto
public <R extends Set<T>> R differenceInto(SetIterable<? extends T> subtrahendSet, R targetSet)
- Specified by:
differenceIntoin interfaceSetIterable<T>
-
symmetricDifference
public MutableSortedSet<T> symmetricDifference(SetIterable<? extends T> setB)
- Specified by:
symmetricDifferencein interfaceMutableSortedSet<T>- Specified by:
symmetricDifferencein interfaceSetIterable<T>- Specified by:
symmetricDifferencein interfaceSortedSetIterable<T>
-
symmetricDifferenceInto
public <R extends Set<T>> R symmetricDifferenceInto(SetIterable<? extends T> set, R targetSet)
- Specified by:
symmetricDifferenceIntoin interfaceSetIterable<T>
-
isSubsetOf
public boolean isSubsetOf(SetIterable<? extends T> candidateSuperset)
- Specified by:
isSubsetOfin interfaceSetIterable<T>
-
isProperSubsetOf
public boolean isProperSubsetOf(SetIterable<? extends T> candidateSuperset)
- Specified by:
isProperSubsetOfin interfaceSetIterable<T>
-
powerSet
public MutableSortedSet<SortedSetIterable<T>> powerSet()
- Specified by:
powerSetin interfaceMutableSortedSet<T>- Specified by:
powerSetin interfaceSortedSetIterable<T>
-
cartesianProduct
public <B> LazyIterable<Pair<T,B>> cartesianProduct(SetIterable<B> set)
- Specified by:
cartesianProductin interfaceSetIterable<T>
-
subSet
public MutableSortedSet<T> subSet(T fromElement, T toElement)
-
headSet
public MutableSortedSet<T> headSet(T toElement)
-
tailSet
public MutableSortedSet<T> tailSet(T fromElement)
-
compareTo
public int compareTo(SortedSetIterable<T> o)
- Specified by:
compareToin interfaceComparable<T>
-
indexOf
public int indexOf(Object object)
- Specified by:
indexOfin interfaceOrderedIterable<T>
-
corresponds
public <S> boolean corresponds(OrderedIterable<S> other, Predicate2<? super T,? super S> predicate)
- Specified by:
correspondsin interfaceOrderedIterable<T>
-
forEach
public void forEach(int startIndex, int endIndex, Procedure<? super T> procedure)- Specified by:
forEachin interfaceOrderedIterable<T>
-
forEachWithIndex
public void forEachWithIndex(int fromIndex, int toIndex, ObjectIntProcedure<? super T> objectIntProcedure)- Specified by:
forEachWithIndexin interfaceOrderedIterable<T>
-
toReversed
public MutableSortedSet<T> toReversed()
- Specified by:
toReversedin interfaceMutableSortedSet<T>- Specified by:
toReversedin interfaceReversibleIterable<T>- Specified by:
toReversedin interfaceSortedSetIterable<T>
-
take
public MutableSortedSet<T> take(int count)
- Specified by:
takein interfaceMutableSortedSet<T>- Specified by:
takein interfaceReversibleIterable<T>- Specified by:
takein interfaceSortedSetIterable<T>
-
drop
public MutableSortedSet<T> drop(int count)
- Specified by:
dropin interfaceMutableSortedSet<T>- Specified by:
dropin interfaceReversibleIterable<T>- Specified by:
dropin interfaceSortedSetIterable<T>
-
reverseForEach
public void reverseForEach(Procedure<? super T> procedure)
- Specified by:
reverseForEachin interfaceReversibleIterable<T>
-
reverseForEachWithIndex
public void reverseForEachWithIndex(ObjectIntProcedure<? super T> procedure)
- Specified by:
reverseForEachWithIndexin interfaceReversibleIterable<T>
-
asReversed
public LazyIterable<T> asReversed()
- Specified by:
asReversedin interfaceReversibleIterable<T>
-
detectLastIndex
public int detectLastIndex(Predicate<? super T> predicate)
- Specified by:
detectLastIndexin interfaceReversibleIterable<T>
-
with
public MutableSortedSet<T> with(T element)
- Specified by:
within interfaceMutableCollection<T>- Specified by:
within interfaceMutableSetIterable<T>- Specified by:
within interfaceMutableSortedSet<T>- Overrides:
within classAbstractUnmodifiableMutableCollection<T>
-
without
public MutableSortedSet<T> without(T element)
- Specified by:
withoutin interfaceMutableCollection<T>- Specified by:
withoutin interfaceMutableSetIterable<T>- Specified by:
withoutin interfaceMutableSortedSet<T>- Overrides:
withoutin classAbstractUnmodifiableMutableCollection<T>
-
withAll
public MutableSortedSet<T> withAll(Iterable<? extends T> elements)
- Specified by:
withAllin interfaceMutableCollection<T>- Specified by:
withAllin interfaceMutableSetIterable<T>- Specified by:
withAllin interfaceMutableSortedSet<T>- Overrides:
withAllin classAbstractUnmodifiableMutableCollection<T>
-
withoutAll
public MutableSortedSet<T> withoutAll(Iterable<? extends T> elements)
- Specified by:
withoutAllin interfaceMutableCollection<T>- Specified by:
withoutAllin interfaceMutableSetIterable<T>- Specified by:
withoutAllin interfaceMutableSortedSet<T>- Overrides:
withoutAllin classAbstractUnmodifiableMutableCollection<T>
-
asParallel
public ParallelSortedSetIterable<T> asParallel(ExecutorService executorService, int batchSize)
- Specified by:
asParallelin interfaceSetIterable<T>- Specified by:
asParallelin interfaceSortedSetIterable<T>
-
-