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