Class UnmodifiableLongCharMap
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableLongCharMap
- All Implemented Interfaces:
Serializable,CharIterable,CharValuesMap,LongCharMap,MutableCharValuesMap,MutableLongCharMap,PrimitiveIterable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharaddToValue(long key, char toBeAdded) booleanallSatisfy(CharPredicate predicate) booleananySatisfy(CharPredicate 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(CharToObjectFunction<? extends V> function) booleancontains(char value) booleancontainsAll(char... source) booleancontainsAll(CharIterable source) booleancontainsKey(long key) booleancontainsValue(char value) intcount(CharPredicate predicate) chardetectIfNone(CharPredicate predicate, char ifNone) voideach(CharProcedure procedure) booleanvoidforEachKey(LongProcedure procedure) voidforEachKeyValue(LongCharProcedure procedure) voidforEachValue(CharProcedure procedure) charget(long key) chargetAndPut(long key, char putValue, char defaultValue) chargetIfAbsent(long key, char ifAbsent) chargetIfAbsentPut(long key, char value) chargetIfAbsentPut(long key, CharFunction0 function) <P> chargetIfAbsentPutWith(long key, CharFunction<? super P> function, P parameter) chargetIfAbsentPutWithKey(long key, LongToCharFunction function) chargetOrThrow(long key) inthashCode()<T> TinjectInto(T injectedValue, ObjectCharToObjectFunction<? super T, ? extends T> function) booleanisEmpty()keySet()keysView()makeString(String separator) makeString(String start, String separator, String end) charmax()charmaxIfEmpty(char defaultValue) doublemedian()charmin()charminIfEmpty(char defaultValue) booleannoneSatisfy(CharPredicate predicate) booleannotEmpty()voidput(long key, char value) voidputAll(LongCharMap map) voidputPair(LongCharPair keyValuePair) reject(CharPredicate predicate) reject(LongCharPredicate predicate) voidremove(long key) voidremoveKey(long key) charremoveKeyIfAbsent(long key, char value) select(CharPredicate predicate) select(LongCharPredicate predicate) intsize()longsum()char[]toArray()char[]toArray(char[] target) toBag()toList()toSet()char[]toString()charupdateValue(long key, char initialValueIfAbsent, CharToCharFunction function) voidupdateValues(LongCharToCharFunction function) values()withKeyValue(long key, char value) withoutAllKeys(LongIterable keys) withoutKey(long key) Methods inherited from interface org.eclipse.collections.api.CharIterable
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.CharValuesMap
tapMethods inherited from interface org.eclipse.collections.api.map.primitive.LongCharMap
allSatisfyKeyValue, injectIntoKeyValueMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableLongCharMap
withAllKeyValues
-
Constructor Details
-
UnmodifiableLongCharMap
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceMutableCharValuesMap
-
put
public void put(long key, char value) - Specified by:
putin interfaceMutableLongCharMap
-
putPair
- Specified by:
putPairin interfaceMutableLongCharMap
-
putAll
- Specified by:
putAllin interfaceMutableLongCharMap
-
updateValues
- Specified by:
updateValuesin interfaceMutableLongCharMap
-
removeKey
public void removeKey(long key) - Specified by:
removeKeyin interfaceMutableLongCharMap
-
remove
public void remove(long key) - Specified by:
removein interfaceMutableLongCharMap
-
removeKeyIfAbsent
public char removeKeyIfAbsent(long key, char value) - Specified by:
removeKeyIfAbsentin interfaceMutableLongCharMap
-
getIfAbsentPut
public char getIfAbsentPut(long key, char value) - Specified by:
getIfAbsentPutin interfaceMutableLongCharMap
-
getAndPut
public char getAndPut(long key, char putValue, char defaultValue) - Specified by:
getAndPutin interfaceMutableLongCharMap
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableLongCharMap
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableLongCharMap
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableLongCharMap
-
updateValue
- Specified by:
updateValuein interfaceMutableLongCharMap
-
get
public char get(long key) - Specified by:
getin interfaceLongCharMap
-
getIfAbsent
public char getIfAbsent(long key, char ifAbsent) - Specified by:
getIfAbsentin interfaceLongCharMap
-
getOrThrow
public char getOrThrow(long key) - Specified by:
getOrThrowin interfaceLongCharMap
-
containsKey
public boolean containsKey(long key) - Specified by:
containsKeyin interfaceLongCharMap
-
containsValue
public boolean containsValue(char value) - Specified by:
containsValuein interfaceCharValuesMap
-
forEachValue
- Specified by:
forEachValuein interfaceCharValuesMap
-
forEachKey
- Specified by:
forEachKeyin interfaceLongCharMap
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceLongCharMap
-
keysView
- Specified by:
keysViewin interfaceLongCharMap
-
keyValuesView
- Specified by:
keyValuesViewin interfaceLongCharMap
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceLongCharMap- Specified by:
flipUniqueValuesin interfaceMutableLongCharMap
-
select
- Specified by:
selectin interfaceLongCharMap- Specified by:
selectin interfaceMutableLongCharMap
-
reject
- Specified by:
rejectin interfaceLongCharMap- Specified by:
rejectin interfaceMutableLongCharMap
-
charIterator
- Specified by:
charIteratorin interfaceCharIterable- Specified by:
charIteratorin interfaceMutableCharValuesMap
-
each
- Specified by:
eachin interfaceCharIterable- Since:
- 7.0.
-
count
- Specified by:
countin interfaceCharIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceCharIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceCharIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceCharIterable
-
select
- Specified by:
selectin interfaceCharIterable- Specified by:
selectin interfaceCharValuesMap- Specified by:
selectin interfaceMutableCharValuesMap
-
reject
- Specified by:
rejectin interfaceCharIterable- Specified by:
rejectin interfaceCharValuesMap- Specified by:
rejectin interfaceMutableCharValuesMap
-
collect
- Specified by:
collectin interfaceCharIterable- Specified by:
collectin interfaceCharValuesMap- Specified by:
collectin interfaceMutableCharValuesMap
-
detectIfNone
- Specified by:
detectIfNonein interfaceCharIterable
-
sum
public long sum()- Specified by:
sumin interfaceCharIterable
-
max
public char max()- Specified by:
maxin interfaceCharIterable
-
maxIfEmpty
public char maxIfEmpty(char defaultValue) - Specified by:
maxIfEmptyin interfaceCharIterable
-
min
public char min()- Specified by:
minin interfaceCharIterable
-
minIfEmpty
public char minIfEmpty(char defaultValue) - Specified by:
minIfEmptyin interfaceCharIterable
-
average
public double average()- Specified by:
averagein interfaceCharIterable
-
median
public double median()- Specified by:
medianin interfaceCharIterable
-
addToValue
public char addToValue(long key, char toBeAdded) - Specified by:
addToValuein interfaceMutableLongCharMap
-
toSortedArray
public char[] toSortedArray()- Specified by:
toSortedArrayin interfaceCharIterable
-
toSortedList
- Specified by:
toSortedListin interfaceCharIterable
-
toArray
public char[] toArray()- Specified by:
toArrayin interfaceCharIterable
-
toArray
public char[] toArray(char[] target) - Specified by:
toArrayin interfaceCharIterable
-
contains
public boolean contains(char value) - Specified by:
containsin interfaceCharIterable
-
containsAll
public boolean containsAll(char... source) - Specified by:
containsAllin interfaceCharIterable
-
containsAll
- Specified by:
containsAllin interfaceCharIterable
-
toList
- Specified by:
toListin interfaceCharIterable
-
toSet
- Specified by:
toSetin interfaceCharIterable
-
toBag
- Specified by:
toBagin interfaceCharIterable
-
asLazy
- Specified by:
asLazyin interfaceCharIterable
-
withKeyValue
- Specified by:
withKeyValuein interfaceMutableLongCharMap
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableLongCharMap
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableLongCharMap
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableLongCharMap
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableLongCharMap
-
toImmutable
- Specified by:
toImmutablein interfaceLongCharMap
-
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 interfaceLongCharMap
-
values
- Specified by:
valuesin interfaceCharValuesMap
-
equals
- Specified by:
equalsin interfaceLongCharMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceLongCharMap- Overrides:
hashCodein classObject
-
toString
- Specified by:
toStringin interfaceLongCharMap- 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, ObjectCharToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceCharIterable
-
chunk
- Specified by:
chunkin interfaceCharIterable
-