Class UnmodifiableLongLongMap
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableLongLongMap
- All Implemented Interfaces:
Serializable,LongIterable,LongLongMap,LongValuesMap,MutableLongLongMap,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(long 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(long key) booleancontainsValue(long value) intcount(LongPredicate predicate) longdetectIfNone(LongPredicate predicate, long ifNone) voideach(LongProcedure procedure) booleanvoidforEachKey(LongProcedure procedure) voidforEachKeyValue(LongLongProcedure procedure) voidforEachValue(LongProcedure procedure) longget(long key) longgetAndPut(long key, long putValue, long defaultValue) longgetIfAbsent(long key, long ifAbsent) longgetIfAbsentPut(long key, long value) longgetIfAbsentPut(long key, LongFunction0 function) <P> longgetIfAbsentPutWith(long key, LongFunction<? super P> function, P parameter) longgetIfAbsentPutWithKey(long key, LongToLongFunction function) longgetOrThrow(long 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(long key, long value) voidputAll(LongLongMap map) voidputPair(LongLongPair keyValuePair) reject(LongLongPredicate predicate) reject(LongPredicate predicate) voidremove(long key) voidremoveKey(long key) longremoveKeyIfAbsent(long key, long value) select(LongLongPredicate predicate) select(LongPredicate predicate) intsize()longsum()long[]toArray()long[]toArray(long[] target) toBag()toList()toSet()long[]toString()longupdateValue(long key, long initialValueIfAbsent, LongToLongFunction function) voidupdateValues(LongLongToLongFunction function) values()withKeyValue(long key, long value) withoutAllKeys(LongIterable keys) withoutKey(long key) Methods 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.LongLongMap
allSatisfyKeyValue, injectIntoKeyValueMethods inherited from interface org.eclipse.collections.api.map.primitive.LongValuesMap
tapMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableLongLongMap
withAllKeyValues
-
Constructor Details
-
UnmodifiableLongLongMap
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceMutableLongValuesMap
-
put
public void put(long key, long value) - Specified by:
putin interfaceMutableLongLongMap
-
putPair
- Specified by:
putPairin interfaceMutableLongLongMap
-
putAll
- Specified by:
putAllin interfaceMutableLongLongMap
-
updateValues
- Specified by:
updateValuesin interfaceMutableLongLongMap
-
removeKey
public void removeKey(long key) - Specified by:
removeKeyin interfaceMutableLongLongMap
-
remove
public void remove(long key) - Specified by:
removein interfaceMutableLongLongMap
-
removeKeyIfAbsent
public long removeKeyIfAbsent(long key, long value) - Specified by:
removeKeyIfAbsentin interfaceMutableLongLongMap
-
getIfAbsentPut
public long getIfAbsentPut(long key, long value) - Specified by:
getIfAbsentPutin interfaceMutableLongLongMap
-
getAndPut
public long getAndPut(long key, long putValue, long defaultValue) - Specified by:
getAndPutin interfaceMutableLongLongMap
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableLongLongMap
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableLongLongMap
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableLongLongMap
-
updateValue
- Specified by:
updateValuein interfaceMutableLongLongMap
-
get
public long get(long key) - Specified by:
getin interfaceLongLongMap
-
getIfAbsent
public long getIfAbsent(long key, long ifAbsent) - Specified by:
getIfAbsentin interfaceLongLongMap
-
getOrThrow
public long getOrThrow(long key) - Specified by:
getOrThrowin interfaceLongLongMap
-
containsKey
public boolean containsKey(long key) - Specified by:
containsKeyin interfaceLongLongMap
-
containsValue
public boolean containsValue(long value) - Specified by:
containsValuein interfaceLongValuesMap
-
forEachValue
- Specified by:
forEachValuein interfaceLongValuesMap
-
forEachKey
- Specified by:
forEachKeyin interfaceLongLongMap
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceLongLongMap
-
keysView
- Specified by:
keysViewin interfaceLongLongMap
-
keyValuesView
- Specified by:
keyValuesViewin interfaceLongLongMap
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceLongLongMap- Specified by:
flipUniqueValuesin interfaceMutableLongLongMap
-
select
- Specified by:
selectin interfaceLongLongMap- Specified by:
selectin interfaceMutableLongLongMap
-
reject
- Specified by:
rejectin interfaceLongLongMap- Specified by:
rejectin interfaceMutableLongLongMap
-
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(long key, long toBeAdded) - Specified by:
addToValuein interfaceMutableLongLongMap
-
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 interfaceMutableLongLongMap
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableLongLongMap
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableLongLongMap
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableLongLongMap
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableLongLongMap
-
toImmutable
- Specified by:
toImmutablein interfaceLongLongMap
-
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 interfaceLongLongMap
-
values
- Specified by:
valuesin interfaceLongValuesMap
-
equals
- Specified by:
equalsin interfaceLongLongMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceLongLongMap- Overrides:
hashCodein classObject
-
toString
- Specified by:
toStringin interfaceLongLongMap- 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
-