public abstract class AbstractUnifiedSet<T> extends AbstractMutableCollection<T> implements MutableSet<T>, Pool<T>, BatchIterable<T>
| Constructor and Description |
|---|
AbstractUnifiedSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
allSatisfy(Predicate<? super T> predicate) |
<P> boolean |
allSatisfyWith(Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
anySatisfy(Predicate<? super T> predicate) |
<P> boolean |
anySatisfyWith(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableSet<T> |
asSynchronized() |
MutableSet<T> |
asUnmodifiable() |
<B> LazyIterable<Pair<T,B>> |
cartesianProduct(SetIterable<B> set) |
RichIterable<RichIterable<T>> |
chunk(int size) |
abstract MutableSet<T> |
clone() |
<V> UnifiedSet<V> |
collect(Function<? super T,? extends V> function) |
<V> UnifiedSet<V> |
collectIf(Predicate<? super T> predicate,
Function<? super T,? extends V> function) |
<P,A> UnifiedSet<A> |
collectWith(Function2<? super T,? super P,? extends A> function,
P parameter) |
T |
detect(Predicate<? super T> predicate) |
Optional<T> |
detectOptional(Predicate<? super T> predicate) |
MutableSet<T> |
difference(SetIterable<? extends T> subtrahendSet) |
<R extends Set<T>> |
differenceInto(SetIterable<? extends T> subtrahendSet,
R targetSet) |
<V> UnifiedSet<V> |
flatCollect(Function<? super T,? extends Iterable<V>> function) |
int |
getBatchCount(int batchSize) |
<V> MutableMap<V,T> |
groupByUniqueKey(Function<? super T,? extends V> function) |
<IV,P> IV |
injectIntoWith(IV injectValue,
Function3<? super IV,? super T,? super P,? extends IV> function,
P parameter) |
MutableSet<T> |
intersect(SetIterable<? extends T> set) |
<R extends Set<T>> |
intersectInto(SetIterable<? extends T> set,
R targetSet) |
boolean |
isProperSubsetOf(SetIterable<? extends T> candidateSuperset) |
boolean |
isSubsetOf(SetIterable<? extends T> candidateSuperset) |
abstract MutableSet<T> |
newEmpty(int size) |
boolean |
noneSatisfy(Predicate<? super T> predicate) |
<P> boolean |
noneSatisfyWith(Predicate2<? super T,? super P> predicate,
P parameter) |
MutableSet<UnsortedSetIterable<T>> |
powerSet() |
boolean |
removeAllIterable(Iterable<?> iterable) |
boolean |
retainAll(Collection<?> collection) |
MutableSet<T> |
symmetricDifference(SetIterable<? extends T> setB) |
<R extends Set<T>> |
symmetricDifferenceInto(SetIterable<? extends T> set,
R targetSet) |
MutableSet<T> |
union(SetIterable<? extends T> set) |
<R extends Set<T>> |
unionInto(SetIterable<? extends T> set,
R targetSet) |
<S> MutableSet<Pair<T,S>> |
zip(Iterable<S> that)
Deprecated.
in 6.0. Use
OrderedIterable.zip(Iterable) instead. |
MutableSet<Pair<T,Integer>> |
zipWithIndex()
Deprecated.
in 6.0. Use
OrderedIterable.zipWithIndex() instead. |
add, addAll, addAllIterable, countBy, countByEach, countByWith, reduce, remove, removeAll, removeIf, removeIfWith, retainAllIterable, selectAndRejectWith, sumByDouble, sumByFloat, sumByInt, sumByLongappendString, appendString, asLazy, collect, collectIf, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countWith, detectWith, detectWithIfNone, detectWithOptional, flatCollect, forEach, forEachWith, forEachWithIndex, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, into, isEmpty, max, max, maxBy, min, min, minBy, 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, waitcollectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, flatCollectWith, groupBy, groupByEach, newEmpty, partition, partitionWith, reject, rejectWith, select, selectInstancesOf, selectWith, tap, toImmutable, toImmutableSet, with, withAll, without, withoutAllasParallelequals, hashCodeaddAllIterable, aggregateBy, aggregateInPlaceBy, countBy, countByEach, countByWith, removeIf, removeIfWith, retainAllIterable, selectAndRejectWith, sumByDouble, sumByFloat, sumByInt, sumByLongaggregateBy, appendString, appendString, appendString, asLazy, 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, detectIfNone, detectWith, detectWithIfNone, detectWithOptional, each, flatCollect, flatCollectBoolean, flatCollectByte, flatCollectChar, flatCollectDouble, flatCollectFloat, flatCollectInt, flatCollectLong, flatCollectShort, flatCollectWith, forEach, getAny, getFirst, getLast, getOnly, groupBy, groupByAndCollect, groupByEach, 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, 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, size, spliterator, toArray, toArrayparallelStream, removeIf, streamclear, get, put, removeFromPool, sizebatchForEach, forEach, sizepublic abstract MutableSet<T> clone()
clone in interface MutableSet<T>clone in class Objectpublic abstract MutableSet<T> newEmpty(int size)
public int getBatchCount(int batchSize)
getBatchCount in interface BatchIterable<T>public <V> UnifiedSet<V> collect(Function<? super T,? extends V> function)
collect in interface MutableCollection<T>collect in interface RichIterable<T>collect in interface MutableSet<T>collect in interface UnsortedSetIterable<T>public <V> UnifiedSet<V> flatCollect(Function<? super T,? extends Iterable<V>> function)
flatCollect in interface MutableCollection<T>flatCollect in interface RichIterable<T>flatCollect in interface MutableSet<T>flatCollect in interface UnsortedSetIterable<T>public <P,A> UnifiedSet<A> collectWith(Function2<? super T,? super P,? extends A> function, P parameter)
collectWith in interface MutableCollection<T>collectWith in interface RichIterable<T>collectWith in interface MutableSet<T>collectWith in interface UnsortedSetIterable<T>public <V> UnifiedSet<V> collectIf(Predicate<? super T> predicate, Function<? super T,? extends V> function)
collectIf in interface MutableCollection<T>collectIf in interface RichIterable<T>collectIf in interface MutableSet<T>collectIf in interface UnsortedSetIterable<T>public T detect(Predicate<? super T> predicate)
detect in interface RichIterable<T>detect in class AbstractRichIterable<T>public Optional<T> detectOptional(Predicate<? super T> predicate)
detectOptional in interface RichIterable<T>detectOptional in class AbstractRichIterable<T>public boolean anySatisfy(Predicate<? super T> predicate)
anySatisfy in interface RichIterable<T>anySatisfy in class AbstractRichIterable<T>public <P> boolean anySatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
anySatisfyWith in interface RichIterable<T>anySatisfyWith in class AbstractRichIterable<T>public boolean allSatisfy(Predicate<? super T> predicate)
allSatisfy in interface RichIterable<T>allSatisfy in class AbstractRichIterable<T>public <P> boolean allSatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
allSatisfyWith in interface RichIterable<T>allSatisfyWith in class AbstractRichIterable<T>public boolean noneSatisfy(Predicate<? super T> predicate)
noneSatisfy in interface RichIterable<T>noneSatisfy in class AbstractRichIterable<T>public <P> boolean noneSatisfyWith(Predicate2<? super T,? super P> predicate, P parameter)
noneSatisfyWith in interface RichIterable<T>noneSatisfyWith in class AbstractRichIterable<T>public <IV,P> IV injectIntoWith(IV injectValue,
Function3<? super IV,? super T,? super P,? extends IV> function,
P parameter)
injectIntoWith in interface MutableCollection<T>injectIntoWith in class AbstractMutableCollection<T>public MutableSet<T> asUnmodifiable()
asUnmodifiable in interface MutableCollection<T>asUnmodifiable in interface MutableSet<T>public MutableSet<T> asSynchronized()
asSynchronized in interface MutableCollection<T>asSynchronized in interface MutableSet<T>public boolean removeAllIterable(Iterable<?> iterable)
removeAllIterable in interface MutableCollection<T>removeAllIterable in class AbstractMutableCollection<T>public boolean retainAll(Collection<?> collection)
retainAll in interface Collection<T>retainAll in interface Set<T>retainAll in class AbstractMutableCollection<T>public <V> MutableMap<V,T> groupByUniqueKey(Function<? super T,? extends V> function)
groupByUniqueKey in interface MutableCollection<T>groupByUniqueKey in interface RichIterable<T>groupByUniqueKey in class AbstractMutableCollection<T>@Deprecated public <S> MutableSet<Pair<T,S>> zip(Iterable<S> that)
OrderedIterable.zip(Iterable) instead.zip in interface MutableCollection<T>zip in interface RichIterable<T>zip in interface MutableSet<T>zip in interface MutableSetIterable<T>zip in interface UnsortedSetIterable<T>@Deprecated public MutableSet<Pair<T,Integer>> zipWithIndex()
OrderedIterable.zipWithIndex() instead.zipWithIndex in interface MutableCollection<T>zipWithIndex in interface RichIterable<T>zipWithIndex in interface MutableSet<T>zipWithIndex in interface MutableSetIterable<T>zipWithIndex in interface SetIterable<T>zipWithIndex in interface UnsortedSetIterable<T>public RichIterable<RichIterable<T>> chunk(int size)
chunk in interface RichIterable<T>chunk in class AbstractMutableCollection<T>public MutableSet<T> union(SetIterable<? extends T> set)
union in interface MutableSet<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 MutableSet<T> intersect(SetIterable<? extends T> set)
intersect in interface MutableSet<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 MutableSet<T> difference(SetIterable<? extends T> subtrahendSet)
difference in interface MutableSet<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 MutableSet<T> symmetricDifference(SetIterable<? extends T> setB)
symmetricDifference in interface MutableSet<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 MutableSet<UnsortedSetIterable<T>> powerSet()
powerSet in interface MutableSet<T>powerSet in interface UnsortedSetIterable<T>public <B> LazyIterable<Pair<T,B>> cartesianProduct(SetIterable<B> set)
cartesianProduct in interface SetIterable<T>Copyright © 2004–2022. All rights reserved.