Class UnmodifiableObjectCharMap<K>
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableObjectCharMap<K>
- All Implemented Interfaces:
Serializable,CharIterable,MutableObjectCharMap<K>,ObjectCharMap<K>,PrimitiveIterable
public class UnmodifiableObjectCharMap<K>
extends Object
implements MutableObjectCharMap<K>, Serializable
This file was automatically generated from template file unmodifiableObjectPrimitiveMap.stg.
- Since:
- 3.2
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncharaddToValue(K 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()<V1> MutableCollection<V1>collect(CharToObjectFunction<? extends V1> function) booleancontains(char value) booleancontainsAll(char... source) booleancontainsAll(CharIterable source) booleancontainsKey(Object key) booleancontainsValue(char value) intcount(CharPredicate predicate) chardetectIfNone(CharPredicate predicate, char ifNone) voideach(CharProcedure procedure) booleanvoidforEachKey(Procedure<? super K> procedure) voidforEachKeyValue(ObjectCharProcedure<? super K> procedure) voidforEachValue(CharProcedure procedure) charcharchargetIfAbsent(Object key, char ifAbsent) chargetIfAbsentPut(K key, char value) chargetIfAbsentPut(K key, CharFunction0 function) <P> chargetIfAbsentPutWith(K key, CharFunction<? super P> function, P parameter) chargetIfAbsentPutWithKey(K key, CharFunction<? super K> function) chargetOrThrow(Object 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()voidvoidputAll(ObjectCharMap<? extends K> map) voidputPair(ObjectCharPair<K> keyValuePair) reject(CharPredicate predicate) reject(ObjectCharPredicate<? super K> predicate) voidvoidcharremoveKeyIfAbsent(K key, char value) select(CharPredicate predicate) select(ObjectCharPredicate<? super K> predicate) intsize()longsum()char[]toArray()char[]toArray(char[] target) toBag()toList()toSet()char[]toString()charupdateValue(K key, char initialValueIfAbsent, CharToCharFunction function) voidupdateValues(ObjectCharToCharFunction<? super K> function) values()withKeyValue(K key, char value) withoutAllKeys(Iterable<? extends K> keys) withoutKey(K 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.MutableObjectCharMap
tap, withAllKeyValuesMethods inherited from interface org.eclipse.collections.api.map.primitive.ObjectCharMap
allSatisfyKeyValue, injectIntoKeyValue
-
Constructor Details
-
UnmodifiableObjectCharMap
-
-
Method Details
-
getAndPut
- Specified by:
getAndPutin interfaceMutableObjectCharMap<K>
-
clear
public void clear()- Specified by:
clearin interfaceMutableObjectCharMap<K>
-
put
- Specified by:
putin interfaceMutableObjectCharMap<K>
-
putPair
- Specified by:
putPairin interfaceMutableObjectCharMap<K>
-
putAll
- Specified by:
putAllin interfaceMutableObjectCharMap<K>
-
updateValues
- Specified by:
updateValuesin interfaceMutableObjectCharMap<K>
-
removeKey
- Specified by:
removeKeyin interfaceMutableObjectCharMap<K>
-
remove
- Specified by:
removein interfaceMutableObjectCharMap<K>
-
removeKeyIfAbsent
- Specified by:
removeKeyIfAbsentin interfaceMutableObjectCharMap<K>
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableObjectCharMap<K>
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableObjectCharMap<K>
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableObjectCharMap<K>
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableObjectCharMap<K>
-
updateValue
- Specified by:
updateValuein interfaceMutableObjectCharMap<K>
-
addToValue
- Specified by:
addToValuein interfaceMutableObjectCharMap<K>
-
get
- Specified by:
getin interfaceObjectCharMap<K>
-
getOrThrow
- Specified by:
getOrThrowin interfaceObjectCharMap<K>
-
getIfAbsent
- Specified by:
getIfAbsentin interfaceObjectCharMap<K>
-
containsKey
- Specified by:
containsKeyin interfaceObjectCharMap<K>
-
containsValue
public boolean containsValue(char value) - Specified by:
containsValuein interfaceObjectCharMap<K>
-
forEachValue
- Specified by:
forEachValuein interfaceObjectCharMap<K>
-
forEachKey
- Specified by:
forEachKeyin interfaceObjectCharMap<K>
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceObjectCharMap<K>
-
select
- Specified by:
selectin interfaceMutableObjectCharMap<K>- Specified by:
selectin interfaceObjectCharMap<K>
-
reject
- Specified by:
rejectin interfaceMutableObjectCharMap<K>- Specified by:
rejectin interfaceObjectCharMap<K>
-
charIterator
- Specified by:
charIteratorin interfaceCharIterable- Specified by:
charIteratorin interfaceMutableObjectCharMap<K>
-
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 interfaceMutableObjectCharMap<K>
-
reject
- Specified by:
rejectin interfaceCharIterable- Specified by:
rejectin interfaceMutableObjectCharMap<K>
-
detectIfNone
- Specified by:
detectIfNonein interfaceCharIterable
-
collect
- Specified by:
collectin interfaceCharIterable- Specified by:
collectin interfaceMutableObjectCharMap<K>
-
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
-
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 interfaceMutableObjectCharMap<K>
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableObjectCharMap<K>
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableObjectCharMap<K>
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableObjectCharMap<K>
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableObjectCharMap<K>
-
toImmutable
- Specified by:
toImmutablein interfaceObjectCharMap<K>
-
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 interfaceObjectCharMap<K>
-
values
- Specified by:
valuesin interfaceObjectCharMap<K>
-
keysView
- Specified by:
keysViewin interfaceObjectCharMap<K>
-
keyValuesView
- Specified by:
keyValuesViewin interfaceObjectCharMap<K>
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceMutableObjectCharMap<K>- Specified by:
flipUniqueValuesin interfaceObjectCharMap<K>
-
equals
-
hashCode
public int hashCode() -
toString
- Specified by:
toStringin interfaceObjectCharMap<K>- 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
-