Class UnmodifiableIntLongMap
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableIntLongMap
- All Implemented Interfaces:
Serializable,LongIterable,IntLongMap,LongValuesMap,MutableIntLongMap,MutableLongValuesMap,PrimitiveIterable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongaddToValue(int key, long toBeAdded) booleanallSatisfy(LongPredicate predicate) booleananySatisfy(LongPredicate predicate) voidappendString(Appendable appendable) voidappendString(Appendable appendable, String separator) voidappendString(Appendable appendable, String start, String separator, String end) asLazy()doubleaverage()chunk(int size) voidclear()<V> MutableBag<V>collect(LongToObjectFunction<? extends V> function) booleancontains(long value) booleancontainsAll(long... source) booleancontainsAll(LongIterable source) booleancontainsKey(int key) booleancontainsValue(long value) intcount(LongPredicate predicate) longdetectIfNone(LongPredicate predicate, long ifNone) voideach(LongProcedure procedure) booleanvoidforEachKey(IntProcedure procedure) voidforEachKeyValue(IntLongProcedure procedure) voidforEachValue(LongProcedure procedure) longget(int key) longgetAndPut(int key, long putValue, long defaultValue) longgetIfAbsent(int key, long ifAbsent) longgetIfAbsentPut(int key, long value) longgetIfAbsentPut(int key, LongFunction0 function) <P> longgetIfAbsentPutWith(int key, LongFunction<? super P> function, P parameter) longgetIfAbsentPutWithKey(int key, IntToLongFunction function) longgetOrThrow(int key) inthashCode()<T> TinjectInto(T injectedValue, ObjectLongToObjectFunction<? super T, ? extends T> function) booleanisEmpty()keySet()keysView()makeString(String separator) makeString(String start, String separator, String end) longmax()longmaxIfEmpty(long defaultValue) doublemedian()longmin()longminIfEmpty(long defaultValue) booleannoneSatisfy(LongPredicate predicate) booleannotEmpty()voidput(int key, long value) voidputAll(IntLongMap map) voidputPair(IntLongPair keyValuePair) reject(IntLongPredicate predicate) reject(LongPredicate predicate) voidremove(int key) voidremoveKey(int key) longremoveKeyIfAbsent(int key, long value) select(IntLongPredicate predicate) select(LongPredicate predicate) intsize()longsum()long[]toArray()long[]toArray(long[] target) toBag()toList()toSet()long[]toString()longupdateValue(int key, long initialValueIfAbsent, LongToLongFunction function) voidupdateValues(IntLongToLongFunction function) values()withKeyValue(int key, long value) withoutAllKeys(IntIterable keys) withoutKey(int key) Methods inherited from interface org.eclipse.collections.api.map.primitive.IntLongMap
allSatisfyKeyValue, injectIntoKeyValueMethods inherited from interface org.eclipse.collections.api.LongIterable
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, reduce, reduceIfEmpty, reject, select, summaryStatistics, toSortedList, toSortedListBy, toSortedListByMethods inherited from interface org.eclipse.collections.api.map.primitive.LongValuesMap
tapMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableIntLongMap
withAllKeyValues
-
Constructor Details
-
UnmodifiableIntLongMap
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceMutableLongValuesMap
-
put
public void put(int key, long value) - Specified by:
putin interfaceMutableIntLongMap
-
putPair
- Specified by:
putPairin interfaceMutableIntLongMap
-
putAll
- Specified by:
putAllin interfaceMutableIntLongMap
-
updateValues
- Specified by:
updateValuesin interfaceMutableIntLongMap
-
removeKey
public void removeKey(int key) - Specified by:
removeKeyin interfaceMutableIntLongMap
-
remove
public void remove(int key) - Specified by:
removein interfaceMutableIntLongMap
-
removeKeyIfAbsent
public long removeKeyIfAbsent(int key, long value) - Specified by:
removeKeyIfAbsentin interfaceMutableIntLongMap
-
getIfAbsentPut
public long getIfAbsentPut(int key, long value) - Specified by:
getIfAbsentPutin interfaceMutableIntLongMap
-
getAndPut
public long getAndPut(int key, long putValue, long defaultValue) - Specified by:
getAndPutin interfaceMutableIntLongMap
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableIntLongMap
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableIntLongMap
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableIntLongMap
-
updateValue
- Specified by:
updateValuein interfaceMutableIntLongMap
-
get
public long get(int key) - Specified by:
getin interfaceIntLongMap
-
getIfAbsent
public long getIfAbsent(int key, long ifAbsent) - Specified by:
getIfAbsentin interfaceIntLongMap
-
getOrThrow
public long getOrThrow(int key) - Specified by:
getOrThrowin interfaceIntLongMap
-
containsKey
public boolean containsKey(int key) - Specified by:
containsKeyin interfaceIntLongMap
-
containsValue
public boolean containsValue(long value) - Specified by:
containsValuein interfaceLongValuesMap
-
forEachValue
- Specified by:
forEachValuein interfaceLongValuesMap
-
forEachKey
- Specified by:
forEachKeyin interfaceIntLongMap
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceIntLongMap
-
keysView
- Specified by:
keysViewin interfaceIntLongMap
-
keyValuesView
- Specified by:
keyValuesViewin interfaceIntLongMap
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceIntLongMap- Specified by:
flipUniqueValuesin interfaceMutableIntLongMap
-
select
- Specified by:
selectin interfaceIntLongMap- Specified by:
selectin interfaceMutableIntLongMap
-
reject
- Specified by:
rejectin interfaceIntLongMap- Specified by:
rejectin interfaceMutableIntLongMap
-
longIterator
- Specified by:
longIteratorin interfaceLongIterable- Specified by:
longIteratorin interfaceMutableLongValuesMap
-
each
- Specified by:
eachin interfaceLongIterable- Since:
- 7.0.
-
count
- Specified by:
countin interfaceLongIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceLongIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceLongIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceLongIterable
-
select
- Specified by:
selectin interfaceLongIterable- Specified by:
selectin interfaceLongValuesMap- Specified by:
selectin interfaceMutableLongValuesMap
-
reject
- Specified by:
rejectin interfaceLongIterable- Specified by:
rejectin interfaceLongValuesMap- Specified by:
rejectin interfaceMutableLongValuesMap
-
collect
- Specified by:
collectin interfaceLongIterable- Specified by:
collectin interfaceLongValuesMap- Specified by:
collectin interfaceMutableLongValuesMap
-
detectIfNone
- Specified by:
detectIfNonein interfaceLongIterable
-
sum
public long sum()- Specified by:
sumin interfaceLongIterable
-
max
public long max()- Specified by:
maxin interfaceLongIterable
-
maxIfEmpty
public long maxIfEmpty(long defaultValue) - Specified by:
maxIfEmptyin interfaceLongIterable
-
min
public long min()- Specified by:
minin interfaceLongIterable
-
minIfEmpty
public long minIfEmpty(long defaultValue) - Specified by:
minIfEmptyin interfaceLongIterable
-
average
public double average()- Specified by:
averagein interfaceLongIterable
-
median
public double median()- Specified by:
medianin interfaceLongIterable
-
addToValue
public long addToValue(int key, long toBeAdded) - Specified by:
addToValuein interfaceMutableIntLongMap
-
toSortedArray
public long[] toSortedArray()- Specified by:
toSortedArrayin interfaceLongIterable
-
toSortedList
- Specified by:
toSortedListin interfaceLongIterable
-
toArray
public long[] toArray()- Specified by:
toArrayin interfaceLongIterable
-
toArray
public long[] toArray(long[] target) - Specified by:
toArrayin interfaceLongIterable
-
contains
public boolean contains(long value) - Specified by:
containsin interfaceLongIterable
-
containsAll
public boolean containsAll(long... source) - Specified by:
containsAllin interfaceLongIterable
-
containsAll
- Specified by:
containsAllin interfaceLongIterable
-
toList
- Specified by:
toListin interfaceLongIterable
-
toSet
- Specified by:
toSetin interfaceLongIterable
-
toBag
- Specified by:
toBagin interfaceLongIterable
-
asLazy
- Specified by:
asLazyin interfaceLongIterable
-
withKeyValue
- Specified by:
withKeyValuein interfaceMutableIntLongMap
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableIntLongMap
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableIntLongMap
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableIntLongMap
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableIntLongMap
-
toImmutable
- Specified by:
toImmutablein interfaceIntLongMap
-
size
public int size()- Specified by:
sizein interfacePrimitiveIterable
-
isEmpty
public boolean isEmpty()- Specified by:
isEmptyin interfacePrimitiveIterable
-
notEmpty
public boolean notEmpty()- Specified by:
notEmptyin interfacePrimitiveIterable
-
keySet
- Specified by:
keySetin interfaceIntLongMap
-
values
- Specified by:
valuesin interfaceLongValuesMap
-
equals
- Specified by:
equalsin interfaceIntLongMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceIntLongMap- Overrides:
hashCodein classObject
-
toString
- Specified by:
toStringin interfaceIntLongMap- 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
-
injectInto
public <T> T injectInto(T injectedValue, ObjectLongToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceLongIterable
-
chunk
- Specified by:
chunkin interfaceLongIterable
-