Class AbstractMutableLongValuesMap
- java.lang.Object
-
- org.eclipse.collections.impl.primitive.AbstractLongIterable
-
- org.eclipse.collections.impl.map.mutable.primitive.AbstractMutableLongValuesMap
-
- All Implemented Interfaces:
LongIterable
,LongValuesMap
,MutableLongValuesMap
,PrimitiveIterable
- Direct Known Subclasses:
ByteLongHashMap
,CharLongHashMap
,DoubleLongHashMap
,FloatLongHashMap
,IntLongHashMap
,LongLongHashMap
,ShortLongHashMap
public abstract class AbstractMutableLongValuesMap extends AbstractLongIterable implements MutableLongValuesMap
This file was automatically generated from template file abstractMutablePrimitiveValuesMap.stg.- Since:
- 6.0.
-
-
Constructor Summary
Constructors Constructor Description AbstractMutableLongValuesMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
allSatisfy(LongPredicate predicate)
boolean
anySatisfy(LongPredicate predicate)
void
appendString(Appendable appendable, String start, String separator, String end)
RichIterable<LongIterable>
chunk(int size)
<V> MutableBag<V>
collect(LongToObjectFunction<? extends V> function)
boolean
contains(long value)
boolean
containsAll(LongIterable source)
boolean
containsValue(long value)
int
count(LongPredicate predicate)
long
detectIfNone(LongPredicate predicate, long value)
void
each(LongProcedure procedure)
void
forEachValue(LongProcedure procedure)
boolean
isEmpty()
long
max()
long
min()
boolean
notEmpty()
MutableLongBag
reject(LongPredicate predicate)
MutableLongBag
select(LongPredicate predicate)
int
size()
long
sum()
long[]
toArray()
long[]
toArray(long[] target)
-
Methods inherited from class org.eclipse.collections.impl.primitive.AbstractLongIterable
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.LongIterable
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.LongValuesMap
tap, values
-
Methods inherited from interface org.eclipse.collections.api.map.primitive.MutableLongValuesMap
clear, longIterator
-
Methods inherited from interface org.eclipse.collections.api.PrimitiveIterable
appendString, appendString, makeString, makeString, makeString, toString
-
-
-
-
Method Detail
-
contains
public boolean contains(long value)
- Specified by:
contains
in interfaceLongIterable
-
containsAll
public boolean containsAll(LongIterable source)
- Specified by:
containsAll
in interfaceLongIterable
-
max
public long max()
- Specified by:
max
in interfaceLongIterable
-
min
public long min()
- Specified by:
min
in interfaceLongIterable
-
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(LongProcedure procedure)
- Specified by:
each
in interfaceLongIterable
- Since:
- 7.0.
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- Specified by:
appendString
in interfacePrimitiveIterable
-
toArray
public long[] toArray()
- Specified by:
toArray
in interfaceLongIterable
-
toArray
public long[] toArray(long[] target)
- Specified by:
toArray
in interfaceLongIterable
-
select
public MutableLongBag select(LongPredicate predicate)
- Specified by:
select
in interfaceLongIterable
- Specified by:
select
in interfaceLongValuesMap
- Specified by:
select
in interfaceMutableLongValuesMap
-
reject
public MutableLongBag reject(LongPredicate predicate)
- Specified by:
reject
in interfaceLongIterable
- Specified by:
reject
in interfaceLongValuesMap
- Specified by:
reject
in interfaceMutableLongValuesMap
-
collect
public <V> MutableBag<V> collect(LongToObjectFunction<? extends V> function)
- Specified by:
collect
in interfaceLongIterable
- Specified by:
collect
in interfaceLongValuesMap
- Specified by:
collect
in interfaceMutableLongValuesMap
-
detectIfNone
public long detectIfNone(LongPredicate predicate, long value)
- Specified by:
detectIfNone
in interfaceLongIterable
-
count
public int count(LongPredicate predicate)
- Specified by:
count
in interfaceLongIterable
-
anySatisfy
public boolean anySatisfy(LongPredicate predicate)
- Specified by:
anySatisfy
in interfaceLongIterable
-
allSatisfy
public boolean allSatisfy(LongPredicate predicate)
- Specified by:
allSatisfy
in interfaceLongIterable
-
chunk
public RichIterable<LongIterable> chunk(int size)
- Specified by:
chunk
in interfaceLongIterable
-
sum
public long sum()
- Specified by:
sum
in interfaceLongIterable
-
containsValue
public boolean containsValue(long value)
- Specified by:
containsValue
in interfaceLongValuesMap
-
forEachValue
public void forEachValue(LongProcedure procedure)
- Specified by:
forEachValue
in interfaceLongValuesMap
-
-