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 booleanallSatisfy(LongPredicate predicate)booleananySatisfy(LongPredicate predicate)voidappendString(Appendable appendable, String start, String separator, String end)RichIterable<LongIterable>chunk(int size)<V> MutableBag<V>collect(LongToObjectFunction<? extends V> function)booleancontains(long value)booleancontainsAll(LongIterable source)booleancontainsValue(long value)intcount(LongPredicate predicate)longdetectIfNone(LongPredicate predicate, long value)voideach(LongProcedure procedure)voidforEachValue(LongProcedure procedure)booleanisEmpty()longmax()longmin()booleannotEmpty()MutableLongBagreject(LongPredicate predicate)MutableLongBagselect(LongPredicate predicate)intsize()longsum()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:
containsin interfaceLongIterable
-
containsAll
public boolean containsAll(LongIterable source)
- Specified by:
containsAllin interfaceLongIterable
-
max
public long max()
- Specified by:
maxin interfaceLongIterable
-
min
public long min()
- Specified by:
minin interfaceLongIterable
-
size
public int size()
- Specified by:
sizein interfacePrimitiveIterable
-
isEmpty
public boolean isEmpty()
- Specified by:
isEmptyin interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()
- Specified by:
notEmptyin interfacePrimitiveIterable
-
each
public void each(LongProcedure procedure)
- Specified by:
eachin interfaceLongIterable- Since:
- 7.0.
-
appendString
public void appendString(Appendable appendable, String start, String separator, String end)
- Specified by:
appendStringin interfacePrimitiveIterable
-
toArray
public long[] toArray()
- Specified by:
toArrayin interfaceLongIterable
-
toArray
public long[] toArray(long[] target)
- Specified by:
toArrayin interfaceLongIterable
-
select
public MutableLongBag select(LongPredicate predicate)
- Specified by:
selectin interfaceLongIterable- Specified by:
selectin interfaceLongValuesMap- Specified by:
selectin interfaceMutableLongValuesMap
-
reject
public MutableLongBag reject(LongPredicate predicate)
- Specified by:
rejectin interfaceLongIterable- Specified by:
rejectin interfaceLongValuesMap- Specified by:
rejectin interfaceMutableLongValuesMap
-
collect
public <V> MutableBag<V> collect(LongToObjectFunction<? extends V> function)
- Specified by:
collectin interfaceLongIterable- Specified by:
collectin interfaceLongValuesMap- Specified by:
collectin interfaceMutableLongValuesMap
-
detectIfNone
public long detectIfNone(LongPredicate predicate, long value)
- Specified by:
detectIfNonein interfaceLongIterable
-
count
public int count(LongPredicate predicate)
- Specified by:
countin interfaceLongIterable
-
anySatisfy
public boolean anySatisfy(LongPredicate predicate)
- Specified by:
anySatisfyin interfaceLongIterable
-
allSatisfy
public boolean allSatisfy(LongPredicate predicate)
- Specified by:
allSatisfyin interfaceLongIterable
-
chunk
public RichIterable<LongIterable> chunk(int size)
- Specified by:
chunkin interfaceLongIterable
-
sum
public long sum()
- Specified by:
sumin interfaceLongIterable
-
containsValue
public boolean containsValue(long value)
- Specified by:
containsValuein interfaceLongValuesMap
-
forEachValue
public void forEachValue(LongProcedure procedure)
- Specified by:
forEachValuein interfaceLongValuesMap
-
-