public abstract class AbstractImmutableSet<T> extends AbstractImmutableCollection<T> implements ImmutableSet<T>, Set<T>
| Constructor and Description |
|---|
AbstractImmutableSet() |
add, addAll, castToCollection, chunk, clear, countBy, countByEach, countByWith, groupByUniqueKey, parallelStream, reduce, remove, removeAll, retainAll, spliterator, stream, sumByDouble, sumByFloat, sumByInt, sumByLongallSatisfy, allSatisfyWith, anySatisfy, anySatisfyWith, appendString, appendString, asLazy, collect, collectIf, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countWith, detect, detectOptional, detectWith, detectWithIfNone, detectWithOptional, flatCollect, forEach, forEachWith, forEachWithIndex, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, into, isEmpty, max, max, maxBy, min, min, minBy, noneSatisfy, noneSatisfyWith, reject, rejectWith, select, selectWith, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toBiMap, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, toString, zip, zipWithIndexequals, getClass, hashCode, notify, notifyAll, wait, wait, waitflatCollectWith, toImmutableSetequals, hashCodeaggregateBy, aggregateInPlaceBy, castToCollection, countBy, countByEach, countByWith, groupByUniqueKey, parallelStream, spliterator, stream, sumByDouble, sumByFloat, sumByInt, sumByLongaggregateBy, 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, getFirst, getLast, getOnly, groupByAndCollect, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, into, isEmpty, makeString, makeString, makeString, makeString, max, max, maxBy, maxByOptional, maxOptional, maxOptional, min, 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, toImmutableSortedBag, toImmutableSortedBag, toImmutableSortedBagBy, toImmutableSortedList, toImmutableSortedList, toImmutableSortedListBy, toImmutableSortedSet, toImmutableSortedSet, toImmutableSortedSetBy, toList, toMap, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedMapBy, toSortedSet, toSortedSet, toSortedSetBy, toString, zip, zipWithIndexforEach, forEachWith, forEachWithIndexadd, addAll, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, removeAll, retainAll, size, spliterator, toArray, toArrayparallelStream, removeIf, streampublic Set<T> castToSet()
castToSet in interface ImmutableSet<T>public ImmutableSet<T> newWith(T element)
newWith in interface ImmutableCollection<T>newWith in interface ImmutableSet<T>public ImmutableSet<T> newWithout(T element)
newWithout in interface ImmutableCollection<T>newWithout in interface ImmutableSet<T>public ImmutableSet<T> newWithAll(Iterable<? extends T> elements)
newWithAll in interface ImmutableCollection<T>newWithAll in interface ImmutableSet<T>public ImmutableSet<T> newWithoutAll(Iterable<? extends T> elements)
newWithoutAll in interface ImmutableCollection<T>newWithoutAll in interface ImmutableSet<T>public ImmutableSet<T> tap(Procedure<? super T> procedure)
tap in interface ImmutableCollection<T>tap in interface RichIterable<T>tap in interface ImmutableSet<T>tap in interface ImmutableSetIterable<T>tap in interface SetIterable<T>tap in interface UnsortedSetIterable<T>public ImmutableSet<T> select(Predicate<? super T> predicate)
select in interface ImmutableCollection<T>select in interface RichIterable<T>select in interface ImmutableSet<T>select in interface ImmutableSetIterable<T>select in interface SetIterable<T>select in interface UnsortedSetIterable<T>public <P> ImmutableSet<T> selectWith(Predicate2<? super T,? super P> predicate, P parameter)
selectWith in interface ImmutableCollection<T>selectWith in interface RichIterable<T>selectWith in interface ImmutableSet<T>selectWith in interface ImmutableSetIterable<T>selectWith in interface SetIterable<T>selectWith in interface UnsortedSetIterable<T>public ImmutableSet<T> reject(Predicate<? super T> predicate)
reject in interface ImmutableCollection<T>reject in interface RichIterable<T>reject in interface ImmutableSet<T>reject in interface ImmutableSetIterable<T>reject in interface SetIterable<T>reject in interface UnsortedSetIterable<T>public <P> ImmutableSet<T> rejectWith(Predicate2<? super T,? super P> predicate, P parameter)
rejectWith in interface ImmutableCollection<T>rejectWith in interface RichIterable<T>rejectWith in interface ImmutableSet<T>rejectWith in interface ImmutableSetIterable<T>rejectWith in interface SetIterable<T>rejectWith in interface UnsortedSetIterable<T>public PartitionImmutableSet<T> partition(Predicate<? super T> predicate)
partition in interface ImmutableCollection<T>partition in interface RichIterable<T>partition in interface ImmutableSet<T>partition in interface ImmutableSetIterable<T>partition in interface SetIterable<T>public <P> PartitionImmutableSet<T> partitionWith(Predicate2<? super T,? super P> predicate, P parameter)
partitionWith in interface ImmutableCollection<T>partitionWith in interface RichIterable<T>partitionWith in interface ImmutableSet<T>partitionWith in interface ImmutableSetIterable<T>partitionWith in interface SetIterable<T>public <S> ImmutableSet<S> selectInstancesOf(Class<S> clazz)
selectInstancesOf in interface ImmutableCollection<T>selectInstancesOf in interface RichIterable<T>selectInstancesOf in interface ImmutableSet<T>selectInstancesOf in interface ImmutableSetIterable<T>selectInstancesOf in interface SetIterable<T>selectInstancesOf in interface UnsortedSetIterable<T>public <V> ImmutableSet<V> collect(Function<? super T,? extends V> function)
collect in interface ImmutableCollection<T>collect in interface RichIterable<T>collect in interface ImmutableSet<T>collect in interface UnsortedSetIterable<T>public ImmutableBooleanSet collectBoolean(BooleanFunction<? super T> booleanFunction)
collectBoolean in interface ImmutableCollection<T>collectBoolean in interface RichIterable<T>collectBoolean in interface ImmutableSet<T>collectBoolean in interface UnsortedSetIterable<T>public ImmutableByteSet collectByte(ByteFunction<? super T> byteFunction)
collectByte in interface ImmutableCollection<T>collectByte in interface RichIterable<T>collectByte in interface ImmutableSet<T>collectByte in interface UnsortedSetIterable<T>public ImmutableCharSet collectChar(CharFunction<? super T> charFunction)
collectChar in interface ImmutableCollection<T>collectChar in interface RichIterable<T>collectChar in interface ImmutableSet<T>collectChar in interface UnsortedSetIterable<T>public ImmutableDoubleSet collectDouble(DoubleFunction<? super T> doubleFunction)
collectDouble in interface ImmutableCollection<T>collectDouble in interface RichIterable<T>collectDouble in interface ImmutableSet<T>collectDouble in interface UnsortedSetIterable<T>public ImmutableFloatSet collectFloat(FloatFunction<? super T> floatFunction)
collectFloat in interface ImmutableCollection<T>collectFloat in interface RichIterable<T>collectFloat in interface ImmutableSet<T>collectFloat in interface UnsortedSetIterable<T>public ImmutableIntSet collectInt(IntFunction<? super T> intFunction)
collectInt in interface ImmutableCollection<T>collectInt in interface RichIterable<T>collectInt in interface ImmutableSet<T>collectInt in interface UnsortedSetIterable<T>public ImmutableLongSet collectLong(LongFunction<? super T> longFunction)
collectLong in interface ImmutableCollection<T>collectLong in interface RichIterable<T>collectLong in interface ImmutableSet<T>collectLong in interface UnsortedSetIterable<T>public ImmutableShortSet collectShort(ShortFunction<? super T> shortFunction)
collectShort in interface ImmutableCollection<T>collectShort in interface RichIterable<T>collectShort in interface ImmutableSet<T>collectShort in interface UnsortedSetIterable<T>public <P,V> ImmutableSet<V> collectWith(Function2<? super T,? super P,? extends V> function, P parameter)
collectWith in interface ImmutableCollection<T>collectWith in interface RichIterable<T>collectWith in interface ImmutableSet<T>collectWith in interface UnsortedSetIterable<T>public <V> ImmutableSet<V> collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
collectIf in interface ImmutableCollection<T>collectIf in interface RichIterable<T>collectIf in interface ImmutableSet<T>collectIf in interface UnsortedSetIterable<T>public <V> ImmutableSet<V> flatCollect(Function<? super T,? extends Iterable<V>> function)
flatCollect in interface ImmutableCollection<T>flatCollect in interface RichIterable<T>flatCollect in interface ImmutableSet<T>flatCollect in interface UnsortedSetIterable<T>public ImmutableSet<T> toImmutable()
toImmutable in interface SetIterable<T>toImmutable in interface UnsortedSetIterable<T>public <V> ImmutableSetMultimap<V,T> groupBy(Function<? super T,? extends V> function)
groupBy in interface ImmutableCollection<T>groupBy in interface RichIterable<T>groupBy in interface ImmutableSet<T>groupBy in interface ImmutableSetIterable<T>groupBy in interface UnsortedSetIterable<T>public <V,R extends MutableMultimap<V,T>> R groupBy(Function<? super T,? extends V> function, R target)
groupBy in interface RichIterable<T>groupBy in class AbstractRichIterable<T>public <V> ImmutableSetMultimap<V,T> groupByEach(Function<? super T,? extends Iterable<V>> function)
groupByEach in interface ImmutableCollection<T>groupByEach in interface RichIterable<T>groupByEach in interface ImmutableSet<T>groupByEach in interface ImmutableSetIterable<T>groupByEach in interface UnsortedSetIterable<T>public <V,R extends MutableMultimap<V,T>> R groupByEach(Function<? super T,? extends Iterable<V>> function, R target)
groupByEach in interface RichIterable<T>groupByEach in class AbstractRichIterable<T>@Deprecated public <S> ImmutableSet<Pair<T,S>> zip(Iterable<S> that)
OrderedIterable.zip(Iterable) instead.zip in interface ImmutableCollection<T>zip in interface RichIterable<T>zip in interface ImmutableSet<T>zip in interface UnsortedSetIterable<T>@Deprecated public ImmutableSet<Pair<T,Integer>> zipWithIndex()
OrderedIterable.zipWithIndex() instead.zipWithIndex in interface ImmutableCollection<T>zipWithIndex in interface RichIterable<T>zipWithIndex in interface ImmutableSet<T>zipWithIndex in interface ImmutableSetIterable<T>zipWithIndex in interface SetIterable<T>zipWithIndex in interface UnsortedSetIterable<T>public ImmutableSet<T> union(SetIterable<? extends T> set)
union in interface ImmutableSet<T>union in interface SetIterable<T>union in interface UnsortedSetIterable<T>public <R extends Set<T>> R unionInto(SetIterable<? extends T> set, R targetSet)
unionInto in interface SetIterable<T>public ImmutableSet<T> intersect(SetIterable<? extends T> set)
intersect in interface ImmutableSet<T>intersect in interface SetIterable<T>intersect in interface UnsortedSetIterable<T>public <R extends Set<T>> R intersectInto(SetIterable<? extends T> set, R targetSet)
intersectInto in interface SetIterable<T>public ImmutableSet<T> difference(SetIterable<? extends T> subtrahendSet)
difference in interface ImmutableSet<T>difference in interface SetIterable<T>difference in interface UnsortedSetIterable<T>public <R extends Set<T>> R differenceInto(SetIterable<? extends T> subtrahendSet, R targetSet)
differenceInto in interface SetIterable<T>public ImmutableSet<T> symmetricDifference(SetIterable<? extends T> setB)
symmetricDifference in interface ImmutableSet<T>symmetricDifference in interface SetIterable<T>symmetricDifference in interface UnsortedSetIterable<T>public <R extends Set<T>> R symmetricDifferenceInto(SetIterable<? extends T> set, R targetSet)
symmetricDifferenceInto in interface SetIterable<T>public boolean isSubsetOf(SetIterable<? extends T> candidateSuperset)
isSubsetOf in interface SetIterable<T>public boolean isProperSubsetOf(SetIterable<? extends T> candidateSuperset)
isProperSubsetOf in interface SetIterable<T>public ImmutableSet<UnsortedSetIterable<T>> powerSet()
powerSet in interface ImmutableSet<T>powerSet in interface UnsortedSetIterable<T>public <B> LazyIterable<Pair<T,B>> cartesianProduct(SetIterable<B> set)
cartesianProduct in interface SetIterable<T>public ParallelUnsortedSetIterable<T> asParallel(ExecutorService executorService, int batchSize)
asParallel in interface SetIterable<T>asParallel in interface UnsortedSetIterable<T>Copyright © 2004–2022. All rights reserved.