public abstract class AbstractUnifiedSet<T> extends AbstractRichIterable<T> implements org.eclipse.collections.api.set.MutableSet<T>, org.eclipse.collections.api.set.Pool<T>, BatchIterable<T>
| Constructor and Description |
|---|
AbstractUnifiedSet() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAll(Collection<? extends T> collection) |
<K2,V> org.eclipse.collections.api.map.MutableMap<K2,V> |
aggregateBy(org.eclipse.collections.api.block.function.Function<? super T,? extends K2> groupBy,
org.eclipse.collections.api.block.function.Function0<? extends V> zeroValueFactory,
org.eclipse.collections.api.block.function.Function2<? super V,? super T,? extends V> nonMutatingAggregator) |
<K2,V> org.eclipse.collections.api.map.MutableMap<K2,V> |
aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function<? super T,? extends K2> groupBy,
org.eclipse.collections.api.block.function.Function0<? extends V> zeroValueFactory,
org.eclipse.collections.api.block.procedure.Procedure2<? super V,? super T> mutatingAggregator) |
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
org.eclipse.collections.api.set.MutableSet<T> |
asSynchronized() |
org.eclipse.collections.api.set.MutableSet<T> |
asUnmodifiable() |
<B> org.eclipse.collections.api.LazyIterable<org.eclipse.collections.api.tuple.Pair<T,B>> |
cartesianProduct(org.eclipse.collections.api.set.SetIterable<B> set) |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.RichIterable<T>> |
chunk(int size) |
abstract org.eclipse.collections.api.set.MutableSet<T> |
clone() |
<V> UnifiedSet<V> |
collect(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
org.eclipse.collections.api.set.primitive.MutableBooleanSet |
collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super T> booleanFunction) |
org.eclipse.collections.api.set.primitive.MutableByteSet |
collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction<? super T> byteFunction) |
org.eclipse.collections.api.set.primitive.MutableCharSet |
collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction<? super T> charFunction) |
org.eclipse.collections.api.set.primitive.MutableDoubleSet |
collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> doubleFunction) |
org.eclipse.collections.api.set.primitive.MutableFloatSet |
collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction<? super T> floatFunction) |
<V> UnifiedSet<V> |
collectIf(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate,
org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
org.eclipse.collections.api.set.primitive.MutableIntSet |
collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction<? super T> intFunction) |
org.eclipse.collections.api.set.primitive.MutableLongSet |
collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction<? super T> longFunction) |
org.eclipse.collections.api.set.primitive.MutableShortSet |
collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction<? super T> shortFunction) |
<P,A> UnifiedSet<A> |
collectWith(org.eclipse.collections.api.block.function.Function2<? super T,? super P,? extends A> function,
P parameter) |
T |
detect(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
org.eclipse.collections.api.set.MutableSet<T> |
difference(org.eclipse.collections.api.set.SetIterable<? extends T> subtrahendSet) |
<R extends Set<T>> |
differenceInto(org.eclipse.collections.api.set.SetIterable<? extends T> subtrahendSet,
R targetSet) |
<V> UnifiedSet<V> |
flatCollect(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function) |
int |
getBatchCount(int batchSize) |
<V> UnifiedSetMultimap<V,T> |
groupByEach(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function) |
<V> org.eclipse.collections.api.map.MutableMap<V,T> |
groupByUniqueKey(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function) |
<IV,P> IV |
injectIntoWith(IV injectValue,
org.eclipse.collections.api.block.function.Function3<? super IV,? super T,? super P,? extends IV> function,
P parameter) |
org.eclipse.collections.api.set.MutableSet<T> |
intersect(org.eclipse.collections.api.set.SetIterable<? extends T> set) |
<R extends Set<T>> |
intersectInto(org.eclipse.collections.api.set.SetIterable<? extends T> set,
R targetSet) |
boolean |
isProperSubsetOf(org.eclipse.collections.api.set.SetIterable<? extends T> candidateSuperset) |
boolean |
isSubsetOf(org.eclipse.collections.api.set.SetIterable<? extends T> candidateSuperset) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
org.eclipse.collections.api.set.MutableSet<org.eclipse.collections.api.set.UnsortedSetIterable<T>> |
powerSet() |
boolean |
removeAll(Collection<?> collection) |
boolean |
removeAllIterable(Iterable<?> iterable) |
boolean |
removeIf(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate) |
<P> boolean |
removeIfWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate,
P parameter) |
boolean |
retainAll(Collection<?> collection) |
org.eclipse.collections.api.set.MutableSet<T> |
symmetricDifference(org.eclipse.collections.api.set.SetIterable<? extends T> setB) |
<R extends Set<T>> |
symmetricDifferenceInto(org.eclipse.collections.api.set.SetIterable<? extends T> set,
R targetSet) |
org.eclipse.collections.api.set.MutableSet<T> |
union(org.eclipse.collections.api.set.SetIterable<? extends T> set) |
<R extends Set<T>> |
unionInto(org.eclipse.collections.api.set.SetIterable<? extends T> set,
R targetSet) |
<S> org.eclipse.collections.api.set.MutableSet<org.eclipse.collections.api.tuple.Pair<T,S>> |
zip(Iterable<S> that)
Deprecated.
in 6.0. Use
OrderedIterable.zip(Iterable) instead. |
org.eclipse.collections.api.set.MutableSet<org.eclipse.collections.api.tuple.Pair<T,Integer>> |
zipWithIndex()
Deprecated.
in 6.0. Use
OrderedIterable.zipWithIndex() instead. |
appendString, appendString, appendString, asLazy, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countWith, detectIfNone, detectWith, detectWithIfNone, flatCollect, forEach, forEachWith, forEachWithIndex, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, isEmpty, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, notEmpty, reject, rejectWith, select, selectWith, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, toString, zip, zipWithIndexequals, getClass, hashCode, notify, notifyAll, wait, wait, waitgroupBy, newEmpty, partition, partitionWith, reject, rejectWith, select, selectInstancesOf, selectWith, tap, toImmutable, with, withAll, without, withoutAlladdAllIterable, retainAllIterable, selectAndRejectWithappendString, appendString, appendString, asLazy, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectIf, collectInt, collectLong, collectShort, collectWith, contains, containsAll, containsAllArguments, containsAllIterable, count, countWith, detectIfNone, detectWith, detectWithIfNone, each, flatCollect, getFirst, getLast, groupBy, groupByEach, groupByUniqueKey, injectInto, injectInto, injectInto, injectInto, injectInto, isEmpty, makeString, makeString, makeString, max, max, maxBy, min, min, minBy, notEmpty, reject, rejectWith, select, selectWith, size, sumByDouble, sumByFloat, sumByInt, sumByLong, sumOfDouble, sumOfFloat, sumOfInt, sumOfLong, toArray, toArray, toBag, toList, toMap, toSet, toSortedBag, toSortedBag, toSortedBagBy, toSortedList, toSortedList, toSortedListBy, toSortedMap, toSortedMap, toSortedSet, toSortedSet, toSortedSetBy, toString, zip, zipWithIndexforEach, forEachWith, forEachWithIndexadd, clear, contains, containsAll, equals, hashCode, isEmpty, iterator, remove, size, spliterator, toArray, toArrayparallelStream, removeIf, streamclear, get, put, removeFromPool, sizebatchForEach, forEach, sizepublic abstract org.eclipse.collections.api.set.MutableSet<T> clone()
public int getBatchCount(int batchSize)
getBatchCount in interface BatchIterable<T>public boolean removeIf(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
removeIf in interface org.eclipse.collections.api.collection.MutableCollection<T>public <P> boolean removeIfWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
removeIfWith in interface org.eclipse.collections.api.collection.MutableCollection<T>public <V> UnifiedSet<V> collect(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
collect in interface org.eclipse.collections.api.collection.MutableCollection<T>collect in interface org.eclipse.collections.api.RichIterable<T>collect in interface org.eclipse.collections.api.set.MutableSet<T>collect in interface org.eclipse.collections.api.set.UnsortedSetIterable<T>public org.eclipse.collections.api.set.primitive.MutableBooleanSet collectBoolean(org.eclipse.collections.api.block.function.primitive.BooleanFunction<? super T> booleanFunction)
collectBoolean in interface org.eclipse.collections.api.collection.MutableCollection<T>collectBoolean in interface org.eclipse.collections.api.RichIterable<T>collectBoolean in interface org.eclipse.collections.api.set.MutableSet<T>collectBoolean in interface org.eclipse.collections.api.set.UnsortedSetIterable<T>public org.eclipse.collections.api.set.primitive.MutableByteSet collectByte(org.eclipse.collections.api.block.function.primitive.ByteFunction<? super T> byteFunction)
collectByte in interface org.eclipse.collections.api.collection.MutableCollection<T>collectByte in interface org.eclipse.collections.api.RichIterable<T>collectByte in interface org.eclipse.collections.api.set.MutableSet<T>collectByte in interface org.eclipse.collections.api.set.UnsortedSetIterable<T>public org.eclipse.collections.api.set.primitive.MutableCharSet collectChar(org.eclipse.collections.api.block.function.primitive.CharFunction<? super T> charFunction)
collectChar in interface org.eclipse.collections.api.collection.MutableCollection<T>collectChar in interface org.eclipse.collections.api.RichIterable<T>collectChar in interface org.eclipse.collections.api.set.MutableSet<T>collectChar in interface org.eclipse.collections.api.set.UnsortedSetIterable<T>public org.eclipse.collections.api.set.primitive.MutableDoubleSet collectDouble(org.eclipse.collections.api.block.function.primitive.DoubleFunction<? super T> doubleFunction)
collectDouble in interface org.eclipse.collections.api.collection.MutableCollection<T>collectDouble in interface org.eclipse.collections.api.RichIterable<T>collectDouble in interface org.eclipse.collections.api.set.MutableSet<T>collectDouble in interface org.eclipse.collections.api.set.UnsortedSetIterable<T>public org.eclipse.collections.api.set.primitive.MutableFloatSet collectFloat(org.eclipse.collections.api.block.function.primitive.FloatFunction<? super T> floatFunction)
collectFloat in interface org.eclipse.collections.api.collection.MutableCollection<T>collectFloat in interface org.eclipse.collections.api.RichIterable<T>collectFloat in interface org.eclipse.collections.api.set.MutableSet<T>collectFloat in interface org.eclipse.collections.api.set.UnsortedSetIterable<T>public org.eclipse.collections.api.set.primitive.MutableIntSet collectInt(org.eclipse.collections.api.block.function.primitive.IntFunction<? super T> intFunction)
collectInt in interface org.eclipse.collections.api.collection.MutableCollection<T>collectInt in interface org.eclipse.collections.api.RichIterable<T>collectInt in interface org.eclipse.collections.api.set.MutableSet<T>collectInt in interface org.eclipse.collections.api.set.UnsortedSetIterable<T>public org.eclipse.collections.api.set.primitive.MutableLongSet collectLong(org.eclipse.collections.api.block.function.primitive.LongFunction<? super T> longFunction)
collectLong in interface org.eclipse.collections.api.collection.MutableCollection<T>collectLong in interface org.eclipse.collections.api.RichIterable<T>collectLong in interface org.eclipse.collections.api.set.MutableSet<T>collectLong in interface org.eclipse.collections.api.set.UnsortedSetIterable<T>public org.eclipse.collections.api.set.primitive.MutableShortSet collectShort(org.eclipse.collections.api.block.function.primitive.ShortFunction<? super T> shortFunction)
collectShort in interface org.eclipse.collections.api.collection.MutableCollection<T>collectShort in interface org.eclipse.collections.api.RichIterable<T>collectShort in interface org.eclipse.collections.api.set.MutableSet<T>collectShort in interface org.eclipse.collections.api.set.UnsortedSetIterable<T>public <V> UnifiedSet<V> flatCollect(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function)
flatCollect in interface org.eclipse.collections.api.collection.MutableCollection<T>flatCollect in interface org.eclipse.collections.api.RichIterable<T>flatCollect in interface org.eclipse.collections.api.set.MutableSet<T>flatCollect in interface org.eclipse.collections.api.set.UnsortedSetIterable<T>public <P,A> UnifiedSet<A> collectWith(org.eclipse.collections.api.block.function.Function2<? super T,? super P,? extends A> function, P parameter)
collectWith in interface org.eclipse.collections.api.collection.MutableCollection<T>collectWith in interface org.eclipse.collections.api.RichIterable<T>collectWith in interface org.eclipse.collections.api.set.MutableSet<T>collectWith in interface org.eclipse.collections.api.set.UnsortedSetIterable<T>public <V> UnifiedSet<V> collectIf(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate, org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
collectIf in interface org.eclipse.collections.api.collection.MutableCollection<T>collectIf in interface org.eclipse.collections.api.RichIterable<T>collectIf in interface org.eclipse.collections.api.set.MutableSet<T>collectIf in interface org.eclipse.collections.api.set.UnsortedSetIterable<T>public T detect(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
detect in interface org.eclipse.collections.api.RichIterable<T>detect in class AbstractRichIterable<T>public boolean anySatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
anySatisfy in interface org.eclipse.collections.api.RichIterable<T>anySatisfy in class AbstractRichIterable<T>public <P> boolean anySatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
anySatisfyWith in interface org.eclipse.collections.api.RichIterable<T>anySatisfyWith in class AbstractRichIterable<T>public boolean allSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
allSatisfy in interface org.eclipse.collections.api.RichIterable<T>allSatisfy in class AbstractRichIterable<T>public <P> boolean allSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
allSatisfyWith in interface org.eclipse.collections.api.RichIterable<T>allSatisfyWith in class AbstractRichIterable<T>public boolean noneSatisfy(org.eclipse.collections.api.block.predicate.Predicate<? super T> predicate)
noneSatisfy in interface org.eclipse.collections.api.RichIterable<T>noneSatisfy in class AbstractRichIterable<T>public <P> boolean noneSatisfyWith(org.eclipse.collections.api.block.predicate.Predicate2<? super T,? super P> predicate, P parameter)
noneSatisfyWith in interface org.eclipse.collections.api.RichIterable<T>noneSatisfyWith in class AbstractRichIterable<T>public <IV,P> IV injectIntoWith(IV injectValue,
org.eclipse.collections.api.block.function.Function3<? super IV,? super T,? super P,? extends IV> function,
P parameter)
injectIntoWith in interface org.eclipse.collections.api.collection.MutableCollection<T>public org.eclipse.collections.api.set.MutableSet<T> asUnmodifiable()
public org.eclipse.collections.api.set.MutableSet<T> asSynchronized()
public boolean addAll(Collection<? extends T> collection)
public boolean removeAll(Collection<?> collection)
public boolean removeAllIterable(Iterable<?> iterable)
removeAllIterable in interface org.eclipse.collections.api.collection.MutableCollection<T>public boolean retainAll(Collection<?> collection)
public <V> UnifiedSetMultimap<V,T> groupByEach(org.eclipse.collections.api.block.function.Function<? super T,? extends Iterable<V>> function)
groupByEach in interface org.eclipse.collections.api.collection.MutableCollection<T>groupByEach in interface org.eclipse.collections.api.RichIterable<T>groupByEach in interface org.eclipse.collections.api.set.MutableSet<T>groupByEach in interface org.eclipse.collections.api.set.MutableSetIterable<T>groupByEach in interface org.eclipse.collections.api.set.UnsortedSetIterable<T>public <V> org.eclipse.collections.api.map.MutableMap<V,T> groupByUniqueKey(org.eclipse.collections.api.block.function.Function<? super T,? extends V> function)
@Deprecated public <S> org.eclipse.collections.api.set.MutableSet<org.eclipse.collections.api.tuple.Pair<T,S>> zip(Iterable<S> that)
OrderedIterable.zip(Iterable) instead.zip in interface org.eclipse.collections.api.collection.MutableCollection<T>zip in interface org.eclipse.collections.api.RichIterable<T>zip in interface org.eclipse.collections.api.set.MutableSet<T>zip in interface org.eclipse.collections.api.set.MutableSetIterable<T>zip in interface org.eclipse.collections.api.set.UnsortedSetIterable<T>@Deprecated public org.eclipse.collections.api.set.MutableSet<org.eclipse.collections.api.tuple.Pair<T,Integer>> zipWithIndex()
OrderedIterable.zipWithIndex() instead.zipWithIndex in interface org.eclipse.collections.api.collection.MutableCollection<T>zipWithIndex in interface org.eclipse.collections.api.RichIterable<T>zipWithIndex in interface org.eclipse.collections.api.set.MutableSet<T>zipWithIndex in interface org.eclipse.collections.api.set.MutableSetIterable<T>zipWithIndex in interface org.eclipse.collections.api.set.SetIterable<T>zipWithIndex in interface org.eclipse.collections.api.set.UnsortedSetIterable<T>public org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.RichIterable<T>> chunk(int size)
chunk in interface org.eclipse.collections.api.RichIterable<T>public org.eclipse.collections.api.set.MutableSet<T> union(org.eclipse.collections.api.set.SetIterable<? extends T> set)
public <R extends Set<T>> R unionInto(org.eclipse.collections.api.set.SetIterable<? extends T> set, R targetSet)
unionInto in interface org.eclipse.collections.api.set.SetIterable<T>public org.eclipse.collections.api.set.MutableSet<T> intersect(org.eclipse.collections.api.set.SetIterable<? extends T> set)
public <R extends Set<T>> R intersectInto(org.eclipse.collections.api.set.SetIterable<? extends T> set, R targetSet)
intersectInto in interface org.eclipse.collections.api.set.SetIterable<T>public org.eclipse.collections.api.set.MutableSet<T> difference(org.eclipse.collections.api.set.SetIterable<? extends T> subtrahendSet)
public <R extends Set<T>> R differenceInto(org.eclipse.collections.api.set.SetIterable<? extends T> subtrahendSet, R targetSet)
differenceInto in interface org.eclipse.collections.api.set.SetIterable<T>public org.eclipse.collections.api.set.MutableSet<T> symmetricDifference(org.eclipse.collections.api.set.SetIterable<? extends T> setB)
public <R extends Set<T>> R symmetricDifferenceInto(org.eclipse.collections.api.set.SetIterable<? extends T> set, R targetSet)
symmetricDifferenceInto in interface org.eclipse.collections.api.set.SetIterable<T>public boolean isSubsetOf(org.eclipse.collections.api.set.SetIterable<? extends T> candidateSuperset)
isSubsetOf in interface org.eclipse.collections.api.set.SetIterable<T>public boolean isProperSubsetOf(org.eclipse.collections.api.set.SetIterable<? extends T> candidateSuperset)
isProperSubsetOf in interface org.eclipse.collections.api.set.SetIterable<T>public org.eclipse.collections.api.set.MutableSet<org.eclipse.collections.api.set.UnsortedSetIterable<T>> powerSet()
public <B> org.eclipse.collections.api.LazyIterable<org.eclipse.collections.api.tuple.Pair<T,B>> cartesianProduct(org.eclipse.collections.api.set.SetIterable<B> set)
cartesianProduct in interface org.eclipse.collections.api.set.SetIterable<T>public <K2,V> org.eclipse.collections.api.map.MutableMap<K2,V> aggregateInPlaceBy(org.eclipse.collections.api.block.function.Function<? super T,? extends K2> groupBy, org.eclipse.collections.api.block.function.Function0<? extends V> zeroValueFactory, org.eclipse.collections.api.block.procedure.Procedure2<? super V,? super T> mutatingAggregator)
public <K2,V> org.eclipse.collections.api.map.MutableMap<K2,V> aggregateBy(org.eclipse.collections.api.block.function.Function<? super T,? extends K2> groupBy, org.eclipse.collections.api.block.function.Function0<? extends V> zeroValueFactory, org.eclipse.collections.api.block.function.Function2<? super V,? super T,? extends V> nonMutatingAggregator)
Copyright © 2004–2018. All rights reserved.