Class AbstractMutableIntValuesMap
- java.lang.Object
-
- org.eclipse.collections.impl.primitive.AbstractIntIterable
-
- org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableIntValuesMap
-
- All Implemented Interfaces:
IntIterable
,IntValuesMap
,MutableIntValuesMap
,PrimitiveIterable
- Direct Known Subclasses:
ByteIntHashMap
,CharIntHashMap
,DoubleIntHashMap
,FloatIntHashMap
,IntIntHashMap
,LongIntHashMap
,ShortIntHashMap
public abstract class AbstractMutableIntValuesMap extends AbstractIntIterable implements MutableIntValuesMap
This file was automatically generated from template file abstractMutablePrimitiveValuesMap.stg.- Since:
- 6.0.
-
-
Constructor Summary
Constructors Constructor Description AbstractMutableIntValuesMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allSatisfy(IntPredicate predicate)
boolean
anySatisfy(IntPredicate predicate)
void
appendString(Appendable appendable, String start, String separator, String end)
RichIterable<IntIterable>
chunk(int size)
<V> MutableBag<V>
collect(IntToObjectFunction<? extends V> function)
boolean
contains(int value)
boolean
containsAll(IntIterable source)
boolean
containsValue(int value)
int
count(IntPredicate predicate)
int
detectIfNone(IntPredicate predicate, int value)
void
each(IntProcedure procedure)
void
forEachValue(IntProcedure procedure)
boolean
isEmpty()
int
max()
int
min()
boolean
notEmpty()
MutableIntBag
reject(IntPredicate predicate)
MutableIntBag
select(IntPredicate predicate)
int
size()
long
sum()
int[]
toArray()
int[]
toArray(int[] target)
-
Methods inherited from class org.eclipse.collections.impl.primitive.AbstractIntIterable
asLazy, average, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedList, toString
-
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.collections.api.IntIterable
asLazy, average, averageIfEmpty, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, containsAll, containsAny, containsAny, containsNone, containsNone, flatCollect, forEach, injectInto, injectIntoBoolean, injectIntoByte, injectIntoChar, injectIntoDouble, injectIntoFloat, injectIntoInt, injectIntoLong, injectIntoShort, maxIfEmpty, median, medianIfEmpty, minIfEmpty, noneSatisfy, reduce, reduceIfEmpty, reject, select, summaryStatistics, toBag, toList, toSet, toSortedArray, toSortedList, toSortedList, toSortedListBy, toSortedListBy
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.IntValuesMap
tap, values
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.MutableIntValuesMap
clear, intIterator
-
Methods inherited from interface org.eclipse.collections.api.PrimitiveIterable
appendString, appendString, makeString, makeString, makeString, toString
-
-
-
-
Method Detail
-
contains
public boolean contains(int value)
- Specified by:
contains
in interfaceIntIterable
-
containsAll
public boolean containsAll(IntIterable source)
- Specified by:
containsAll
in interfaceIntIterable
-
max
public int max()
- Specified by:
max
in interfaceIntIterable
-
min
public int min()
- Specified by:
min
in interfaceIntIterable
-
size
public int size()
- Specified by:
size
in interfacePrimitiveIterable
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmpty
in interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmpty
in interfacePrimitiveIterable
-
each
public void each(IntProcedure procedure)
- Specified by:
each
in interfaceIntIterable
- Since:
- 7.0.
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- Specified by:
appendString
in interfacePrimitiveIterable
-
toArray
public int[] toArray()
- Specified by:
toArray
in interfaceIntIterable
-
toArray
public int[] toArray(int[] target)
- Specified by:
toArray
in interfaceIntIterable
-
select
public MutableIntBag select(IntPredicate predicate)
- Specified by:
select
in interfaceIntIterable
- Specified by:
select
in interfaceIntValuesMap
- Specified by:
select
in interfaceMutableIntValuesMap
-
reject
public MutableIntBag reject(IntPredicate predicate)
- Specified by:
reject
in interfaceIntIterable
- Specified by:
reject
in interfaceIntValuesMap
- Specified by:
reject
in interfaceMutableIntValuesMap
-
collect
public <V> MutableBag<V> collect(IntToObjectFunction<? extends V> function)
- Specified by:
collect
in interfaceIntIterable
- Specified by:
collect
in interfaceIntValuesMap
- Specified by:
collect
in interfaceMutableIntValuesMap
-
detectIfNone
public int detectIfNone(IntPredicate predicate, int value)
- Specified by:
detectIfNone
in interfaceIntIterable
-
count
public int count(IntPredicate predicate)
- Specified by:
count
in interfaceIntIterable
-
anySatisfy
public boolean anySatisfy(IntPredicate predicate)
- Specified by:
anySatisfy
in interfaceIntIterable
-
allSatisfy
public boolean allSatisfy(IntPredicate predicate)
- Specified by:
allSatisfy
in interfaceIntIterable
-
chunk
public RichIterable<IntIterable> chunk(int size)
- Specified by:
chunk
in interfaceIntIterable
-
sum
public long sum()
- Specified by:
sum
in interfaceIntIterable
-
containsValue
public boolean containsValue(int value)
- Specified by:
containsValue
in interfaceIntValuesMap
-
forEachValue
public void forEachValue(IntProcedure procedure)
- Specified by:
forEachValue
in interfaceIntValuesMap
-
-