Class AbstractMutableIntKeySet
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableIntKeySet
- All Implemented Interfaces:
Externalizable,Serializable,MutableIntCollection,IntIterable,PrimitiveIterable,IntSet,MutableIntSet
public abstract class AbstractMutableIntKeySet
extends Object
implements MutableIntSet, Externalizable
This file was automatically generated from template file abstractMutablePrimitiveKeySet.stg.
- Since:
- 6.0.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(int element) booleanaddAll(int... source) booleanaddAll(IntIterable source) booleanallSatisfy(IntPredicate predicate) booleananySatisfy(IntPredicate predicate) voidappendString(Appendable appendable) voidappendString(Appendable appendable, String separator) voidappendString(Appendable appendable, String start, String separator, String end) asLazy()doubleaverage()boxed()cartesianProduct(IntSet set) chunk(int size) voidclear()<V> MutableSet<V>collect(IntToObjectFunction<? extends V> function) booleancontains(int value) booleancontainsAll(int... source) booleancontainsAll(IntIterable source) intcount(IntPredicate predicate) intdetectIfNone(IntPredicate predicate, int ifNone) voideach(IntProcedure procedure) booleaninthashCode()<T> TinjectInto(T injectedValue, ObjectIntToObjectFunction<? super T, ? extends T> function) booleanisEmpty()makeString(String separator) makeString(String start, String separator, String end) intmax()intmaxIfEmpty(int defaultValue) doublemedian()intmin()intminIfEmpty(int defaultValue) booleannotEmpty()voidreject(IntPredicate predicate) booleanremove(int key) booleanremoveAll(int... source) booleanremoveAll(IntIterable source) select(IntPredicate predicate) intsize()longsum()int[]toArray()int[]toArray(int[] result) toBag()toList()toSet()int[]toString()with(int element) withAll(IntIterable elements) without(int element) withoutAll(IntIterable elements) voidMethods inherited from interface org.eclipse.collections.api.IntIterable
averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, medianIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, summaryStatistics, toSortedList, toSortedListBy, toSortedListByMethods inherited from interface org.eclipse.collections.api.set.primitive.IntSet
isProperSubsetOf, isSubsetOfMethods inherited from interface org.eclipse.collections.api.collection.primitive.MutableIntCollection
intIterator, removeIf, retainAll, retainAllMethods inherited from interface org.eclipse.collections.api.set.primitive.MutableIntSet
difference, freeze, intersect, newEmpty, symmetricDifference, tap, union
-
Constructor Details
-
AbstractMutableIntKeySet
public AbstractMutableIntKeySet()
-
-
Method Details
-
boxed
- Specified by:
boxedin interfaceMutableIntSet
-
each
- Specified by:
eachin interfaceIntIterable- Since:
- 7.0.
-
count
- Specified by:
countin interfaceIntIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceIntIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceIntIterable
-
add
public boolean add(int element) - Specified by:
addin interfaceMutableIntCollection
-
addAll
public boolean addAll(int... source) - Specified by:
addAllin interfaceMutableIntCollection
-
addAll
- Specified by:
addAllin interfaceMutableIntCollection
-
select
- Specified by:
selectin interfaceIntIterable- Specified by:
selectin interfaceIntSet- Specified by:
selectin interfaceMutableIntCollection- Specified by:
selectin interfaceMutableIntSet
-
reject
- Specified by:
rejectin interfaceIntIterable- Specified by:
rejectin interfaceIntSet- Specified by:
rejectin interfaceMutableIntCollection- Specified by:
rejectin interfaceMutableIntSet
-
with
- Specified by:
within interfaceMutableIntCollection- Specified by:
within interfaceMutableIntSet
-
without
- Specified by:
withoutin interfaceMutableIntCollection- Specified by:
withoutin interfaceMutableIntSet
-
withAll
- Specified by:
withAllin interfaceMutableIntCollection- Specified by:
withAllin interfaceMutableIntSet
-
withoutAll
- Specified by:
withoutAllin interfaceMutableIntCollection- Specified by:
withoutAllin interfaceMutableIntSet
-
collect
- Specified by:
collectin interfaceIntIterable- Specified by:
collectin interfaceIntSet- Specified by:
collectin interfaceMutableIntCollection- Specified by:
collectin interfaceMutableIntSet
-
remove
public boolean remove(int key) - Specified by:
removein interfaceMutableIntCollection
-
removeAll
- Specified by:
removeAllin interfaceMutableIntCollection
-
removeAll
public boolean removeAll(int... source) - Specified by:
removeAllin interfaceMutableIntCollection
-
clear
public void clear()- Specified by:
clearin interfaceMutableIntCollection
-
detectIfNone
- Specified by:
detectIfNonein interfaceIntIterable
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableIntCollection- Specified by:
asUnmodifiablein interfaceMutableIntSet
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableIntCollection- Specified by:
asSynchronizedin interfaceMutableIntSet
-
sum
public long sum()- Specified by:
sumin interfaceIntIterable
-
max
public int max()- Specified by:
maxin interfaceIntIterable
-
maxIfEmpty
public int maxIfEmpty(int defaultValue) - Specified by:
maxIfEmptyin interfaceIntIterable
-
min
public int min()- Specified by:
minin interfaceIntIterable
-
minIfEmpty
public int minIfEmpty(int defaultValue) - Specified by:
minIfEmptyin interfaceIntIterable
-
average
public double average()- Specified by:
averagein interfaceIntIterable
-
median
public double median()- Specified by:
medianin interfaceIntIterable
-
toSortedArray
public int[] toSortedArray()- Specified by:
toSortedArrayin interfaceIntIterable
-
toSortedList
- Specified by:
toSortedListin interfaceIntIterable
-
toArray
public int[] toArray()- Specified by:
toArrayin interfaceIntIterable
-
toArray
public int[] toArray(int[] result) - Specified by:
toArrayin interfaceIntIterable
-
contains
public boolean contains(int value) - Specified by:
containsin interfaceIntIterable
-
containsAll
public boolean containsAll(int... source) - Specified by:
containsAllin interfaceIntIterable
-
containsAll
- Specified by:
containsAllin interfaceIntIterable
-
cartesianProduct
- Specified by:
cartesianProductin interfaceIntSet
-
toList
- Specified by:
toListin interfaceIntIterable
-
toSet
- Specified by:
toSetin interfaceIntIterable
-
toBag
- Specified by:
toBagin interfaceIntIterable
-
asLazy
- Specified by:
asLazyin interfaceIntIterable
-
injectInto
- Specified by:
injectIntoin interfaceIntIterable
-
toImmutable
- Specified by:
toImmutablein interfaceIntSet- Specified by:
toImmutablein interfaceMutableIntCollection- Specified by:
toImmutablein interfaceMutableIntSet
-
size
public int size()- Specified by:
sizein interfacePrimitiveIterable
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable
-
equals
-
hashCode
public int hashCode() -
toString
- Specified by:
toStringin interfacePrimitiveIterable- Overrides:
toStringin classObject
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
makeString
- Specified by:
makeStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
appendString
- Specified by:
appendStringin interfacePrimitiveIterable
-
chunk
- Specified by:
chunkin interfaceIntIterable
-
writeReplace
- Throws:
ObjectStreamException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-