public final class SynchronizedIntCharMap extends Object implements org.eclipse.collections.api.map.primitive.MutableIntCharMap, Serializable
MutableIntCharMap. It is imperative that the user manually synchronize on the collection when iterating over it using the
MutableCharIterator as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitivePrimitiveMap.stg.
MutableIntCharMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
char |
addToValue(int key,
char toBeAdded) |
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate) |
void |
appendString(Appendable appendable) |
void |
appendString(Appendable appendable,
String separator) |
void |
appendString(Appendable appendable,
String start,
String separator,
String end) |
org.eclipse.collections.api.LazyCharIterable |
asLazy() |
org.eclipse.collections.api.map.primitive.MutableIntCharMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableIntCharMap |
asUnmodifiable() |
double |
average() |
org.eclipse.collections.api.iterator.MutableCharIterator |
charIterator()
This must be manually synchronized by the developer.
|
void |
clear() |
<V> org.eclipse.collections.api.collection.MutableCollection<V> |
collect(org.eclipse.collections.api.block.function.primitive.CharToObjectFunction<? extends V> function) |
boolean |
contains(char value) |
boolean |
containsAll(char... source) |
boolean |
containsAll(org.eclipse.collections.api.CharIterable source) |
boolean |
containsKey(int key) |
boolean |
containsValue(char value) |
int |
count(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate) |
char |
detectIfNone(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate,
char ifNone) |
void |
each(org.eclipse.collections.api.block.procedure.primitive.CharProcedure procedure) |
boolean |
equals(Object otherMap) |
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.CharProcedure procedure) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.IntCharProcedure procedure) |
void |
forEachValue(org.eclipse.collections.api.block.procedure.primitive.CharProcedure procedure) |
char |
get(int key) |
char |
getIfAbsent(int key,
char ifAbsent) |
char |
getIfAbsentPut(int key,
char value) |
char |
getIfAbsentPut(int key,
org.eclipse.collections.api.block.function.primitive.CharFunction0 function) |
<P> char |
getIfAbsentPutWith(int key,
org.eclipse.collections.api.block.function.primitive.CharFunction<? super P> function,
P parameter) |
char |
getIfAbsentPutWithKey(int key,
org.eclipse.collections.api.block.function.primitive.IntToCharFunction function) |
char |
getOrThrow(int key) |
int |
hashCode() |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectCharToObjectFunction<? super T,? extends T> function) |
boolean |
isEmpty() |
org.eclipse.collections.api.set.primitive.MutableIntSet |
keySet() |
org.eclipse.collections.api.LazyIntIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.IntCharPair> |
keyValuesView() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
char |
max() |
char |
maxIfEmpty(char defaultValue) |
double |
median() |
char |
min() |
char |
minIfEmpty(char defaultValue) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate) |
boolean |
notEmpty() |
void |
put(int key,
char value) |
void |
putAll(org.eclipse.collections.api.map.primitive.IntCharMap map) |
org.eclipse.collections.api.collection.primitive.MutableCharCollection |
reject(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate) |
org.eclipse.collections.api.map.primitive.MutableIntCharMap |
reject(org.eclipse.collections.api.block.predicate.primitive.IntCharPredicate predicate) |
void |
remove(int key) |
void |
removeKey(int key) |
char |
removeKeyIfAbsent(int key,
char value) |
org.eclipse.collections.api.collection.primitive.MutableCharCollection |
select(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate) |
org.eclipse.collections.api.map.primitive.MutableIntCharMap |
select(org.eclipse.collections.api.block.predicate.primitive.IntCharPredicate predicate) |
int |
size() |
long |
sum() |
char[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableCharBag |
toBag() |
org.eclipse.collections.api.map.primitive.ImmutableIntCharMap |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableCharList |
toList() |
org.eclipse.collections.api.set.primitive.MutableCharSet |
toSet() |
char[] |
toSortedArray() |
org.eclipse.collections.api.list.primitive.MutableCharList |
toSortedList() |
String |
toString() |
char |
updateValue(int key,
char initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.CharToCharFunction function) |
org.eclipse.collections.api.collection.primitive.MutableCharCollection |
values() |
org.eclipse.collections.api.map.primitive.MutableIntCharMap |
withKeyValue(int key,
char value) |
org.eclipse.collections.api.map.primitive.MutableIntCharMap |
withoutAllKeys(org.eclipse.collections.api.IntIterable keys) |
org.eclipse.collections.api.map.primitive.MutableIntCharMap |
withoutKey(int key) |
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableCharValuesMappublic void put(int key,
char value)
put in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic void putAll(org.eclipse.collections.api.map.primitive.IntCharMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic void removeKey(int key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic void remove(int key)
remove in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic char removeKeyIfAbsent(int key,
char value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic char getIfAbsentPut(int key,
char value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic char getIfAbsentPut(int key,
org.eclipse.collections.api.block.function.primitive.CharFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic char getIfAbsentPutWithKey(int key,
org.eclipse.collections.api.block.function.primitive.IntToCharFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic <P> char getIfAbsentPutWith(int key,
org.eclipse.collections.api.block.function.primitive.CharFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic char updateValue(int key,
char initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.CharToCharFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic char get(int key)
get in interface org.eclipse.collections.api.map.primitive.IntCharMappublic char getIfAbsent(int key,
char ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.IntCharMappublic char getOrThrow(int key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.IntCharMappublic boolean containsKey(int key)
containsKey in interface org.eclipse.collections.api.map.primitive.IntCharMappublic boolean containsValue(char value)
containsValue in interface org.eclipse.collections.api.map.primitive.CharValuesMappublic void forEachValue(org.eclipse.collections.api.block.procedure.primitive.CharProcedure procedure)
forEachValue in interface org.eclipse.collections.api.map.primitive.CharValuesMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.IntProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.IntCharMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.IntCharProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.IntCharMappublic org.eclipse.collections.api.LazyIntIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.IntCharMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.IntCharPair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.IntCharMappublic org.eclipse.collections.api.map.primitive.MutableIntCharMap select(org.eclipse.collections.api.block.predicate.primitive.IntCharPredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.IntCharMapselect in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic org.eclipse.collections.api.map.primitive.MutableIntCharMap reject(org.eclipse.collections.api.block.predicate.primitive.IntCharPredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.IntCharMapreject in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic org.eclipse.collections.api.iterator.MutableCharIterator charIterator()
charIterator in interface org.eclipse.collections.api.CharIterablecharIterator in interface org.eclipse.collections.api.map.primitive.MutableCharValuesMappublic void forEach(org.eclipse.collections.api.block.procedure.primitive.CharProcedure procedure)
forEach in interface org.eclipse.collections.api.CharIterablepublic void each(org.eclipse.collections.api.block.procedure.primitive.CharProcedure procedure)
each in interface org.eclipse.collections.api.CharIterablepublic int count(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate)
count in interface org.eclipse.collections.api.CharIterablepublic boolean anySatisfy(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate)
anySatisfy in interface org.eclipse.collections.api.CharIterablepublic boolean allSatisfy(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate)
allSatisfy in interface org.eclipse.collections.api.CharIterablepublic boolean noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate)
noneSatisfy in interface org.eclipse.collections.api.CharIterablepublic org.eclipse.collections.api.collection.primitive.MutableCharCollection select(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate)
select in interface org.eclipse.collections.api.CharIterableselect in interface org.eclipse.collections.api.map.primitive.MutableCharValuesMappublic org.eclipse.collections.api.collection.primitive.MutableCharCollection reject(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate)
reject in interface org.eclipse.collections.api.CharIterablereject in interface org.eclipse.collections.api.map.primitive.MutableCharValuesMappublic char detectIfNone(org.eclipse.collections.api.block.predicate.primitive.CharPredicate predicate,
char ifNone)
detectIfNone in interface org.eclipse.collections.api.CharIterablepublic <V> org.eclipse.collections.api.collection.MutableCollection<V> collect(org.eclipse.collections.api.block.function.primitive.CharToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.CharIterablecollect in interface org.eclipse.collections.api.map.primitive.MutableCharValuesMappublic long sum()
sum in interface org.eclipse.collections.api.CharIterablepublic char max()
max in interface org.eclipse.collections.api.CharIterablepublic char maxIfEmpty(char defaultValue)
maxIfEmpty in interface org.eclipse.collections.api.CharIterablepublic char min()
min in interface org.eclipse.collections.api.CharIterablepublic char minIfEmpty(char defaultValue)
minIfEmpty in interface org.eclipse.collections.api.CharIterablepublic double average()
average in interface org.eclipse.collections.api.CharIterablepublic double median()
median in interface org.eclipse.collections.api.CharIterablepublic char addToValue(int key,
char toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic char[] toSortedArray()
toSortedArray in interface org.eclipse.collections.api.CharIterablepublic org.eclipse.collections.api.list.primitive.MutableCharList toSortedList()
toSortedList in interface org.eclipse.collections.api.CharIterablepublic char[] toArray()
toArray in interface org.eclipse.collections.api.CharIterablepublic boolean contains(char value)
contains in interface org.eclipse.collections.api.CharIterablepublic boolean containsAll(char... source)
containsAll in interface org.eclipse.collections.api.CharIterablepublic boolean containsAll(org.eclipse.collections.api.CharIterable source)
containsAll in interface org.eclipse.collections.api.CharIterablepublic org.eclipse.collections.api.list.primitive.MutableCharList toList()
toList in interface org.eclipse.collections.api.CharIterablepublic org.eclipse.collections.api.set.primitive.MutableCharSet toSet()
toSet in interface org.eclipse.collections.api.CharIterablepublic org.eclipse.collections.api.bag.primitive.MutableCharBag toBag()
toBag in interface org.eclipse.collections.api.CharIterablepublic org.eclipse.collections.api.LazyCharIterable asLazy()
asLazy in interface org.eclipse.collections.api.CharIterablepublic org.eclipse.collections.api.map.primitive.MutableIntCharMap withKeyValue(int key,
char value)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic org.eclipse.collections.api.map.primitive.MutableIntCharMap withoutKey(int key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic org.eclipse.collections.api.map.primitive.MutableIntCharMap withoutAllKeys(org.eclipse.collections.api.IntIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic org.eclipse.collections.api.map.primitive.MutableIntCharMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic org.eclipse.collections.api.map.primitive.MutableIntCharMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableIntCharMappublic org.eclipse.collections.api.map.primitive.ImmutableIntCharMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.IntCharMappublic int size()
size in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface org.eclipse.collections.api.PrimitiveIterablepublic org.eclipse.collections.api.set.primitive.MutableIntSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.IntCharMappublic org.eclipse.collections.api.collection.primitive.MutableCharCollection values()
values in interface org.eclipse.collections.api.map.primitive.CharValuesMappublic boolean equals(Object otherMap)
public int hashCode()
public String toString()
public String makeString()
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String separator)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface org.eclipse.collections.api.PrimitiveIterablepublic <T> T injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectCharToObjectFunction<? super T,? extends T> function)
injectInto in interface org.eclipse.collections.api.CharIterableCopyright © 2004–2018. All rights reserved.