public final class SynchronizedCharByteMap extends Object implements org.eclipse.collections.api.map.primitive.MutableCharByteMap, Serializable
MutableCharByteMap. It is imperative that the user manually synchronize on the collection when iterating over it using the
MutableByteIterator as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedPrimitivePrimitiveMap.stg.
MutableCharByteMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
byte |
addToValue(char key,
byte toBeAdded) |
boolean |
allSatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
boolean |
anySatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate 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.LazyByteIterable |
asLazy() |
org.eclipse.collections.api.map.primitive.MutableCharByteMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableCharByteMap |
asUnmodifiable() |
double |
average() |
org.eclipse.collections.api.iterator.MutableByteIterator |
byteIterator()
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.ByteToObjectFunction<? extends V> function) |
boolean |
contains(byte value) |
boolean |
containsAll(byte... source) |
boolean |
containsAll(org.eclipse.collections.api.ByteIterable source) |
boolean |
containsKey(char key) |
boolean |
containsValue(byte value) |
int |
count(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
byte |
detectIfNone(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate,
byte ifNone) |
void |
each(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure) |
boolean |
equals(Object otherMap) |
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.primitive.CharProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.CharByteProcedure procedure) |
void |
forEachValue(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure) |
byte |
get(char key) |
byte |
getIfAbsent(char key,
byte ifAbsent) |
byte |
getIfAbsentPut(char key,
byte value) |
byte |
getIfAbsentPut(char key,
org.eclipse.collections.api.block.function.primitive.ByteFunction0 function) |
<P> byte |
getIfAbsentPutWith(char key,
org.eclipse.collections.api.block.function.primitive.ByteFunction<? super P> function,
P parameter) |
byte |
getIfAbsentPutWithKey(char key,
org.eclipse.collections.api.block.function.primitive.CharToByteFunction function) |
byte |
getOrThrow(char key) |
int |
hashCode() |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectByteToObjectFunction<? super T,? extends T> function) |
boolean |
isEmpty() |
org.eclipse.collections.api.set.primitive.MutableCharSet |
keySet() |
org.eclipse.collections.api.LazyCharIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.CharBytePair> |
keyValuesView() |
String |
makeString() |
String |
makeString(String separator) |
String |
makeString(String start,
String separator,
String end) |
byte |
max() |
byte |
maxIfEmpty(byte defaultValue) |
double |
median() |
byte |
min() |
byte |
minIfEmpty(byte defaultValue) |
boolean |
noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
boolean |
notEmpty() |
void |
put(char key,
byte value) |
void |
putAll(org.eclipse.collections.api.map.primitive.CharByteMap map) |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
org.eclipse.collections.api.map.primitive.MutableCharByteMap |
reject(org.eclipse.collections.api.block.predicate.primitive.CharBytePredicate predicate) |
void |
remove(char key) |
void |
removeKey(char key) |
byte |
removeKeyIfAbsent(char key,
byte value) |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
org.eclipse.collections.api.map.primitive.MutableCharByteMap |
select(org.eclipse.collections.api.block.predicate.primitive.CharBytePredicate predicate) |
int |
size() |
long |
sum() |
byte[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableByteBag |
toBag() |
org.eclipse.collections.api.map.primitive.ImmutableCharByteMap |
toImmutable() |
org.eclipse.collections.api.list.primitive.MutableByteList |
toList() |
org.eclipse.collections.api.set.primitive.MutableByteSet |
toSet() |
byte[] |
toSortedArray() |
org.eclipse.collections.api.list.primitive.MutableByteList |
toSortedList() |
String |
toString() |
byte |
updateValue(char key,
byte initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.ByteToByteFunction function) |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
values() |
org.eclipse.collections.api.map.primitive.MutableCharByteMap |
withKeyValue(char key,
byte value) |
org.eclipse.collections.api.map.primitive.MutableCharByteMap |
withoutAllKeys(org.eclipse.collections.api.CharIterable keys) |
org.eclipse.collections.api.map.primitive.MutableCharByteMap |
withoutKey(char key) |
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableByteValuesMappublic void put(char key,
byte value)
put in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic void putAll(org.eclipse.collections.api.map.primitive.CharByteMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic void removeKey(char key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic void remove(char key)
remove in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic byte removeKeyIfAbsent(char key,
byte value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic byte getIfAbsentPut(char key,
byte value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic byte getIfAbsentPut(char key,
org.eclipse.collections.api.block.function.primitive.ByteFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic byte getIfAbsentPutWithKey(char key,
org.eclipse.collections.api.block.function.primitive.CharToByteFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic <P> byte getIfAbsentPutWith(char key,
org.eclipse.collections.api.block.function.primitive.ByteFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic byte updateValue(char key,
byte initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.ByteToByteFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic byte get(char key)
get in interface org.eclipse.collections.api.map.primitive.CharByteMappublic byte getIfAbsent(char key,
byte ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.CharByteMappublic byte getOrThrow(char key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.CharByteMappublic boolean containsKey(char key)
containsKey in interface org.eclipse.collections.api.map.primitive.CharByteMappublic boolean containsValue(byte value)
containsValue in interface org.eclipse.collections.api.map.primitive.ByteValuesMappublic void forEachValue(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure)
forEachValue in interface org.eclipse.collections.api.map.primitive.ByteValuesMappublic void forEachKey(org.eclipse.collections.api.block.procedure.primitive.CharProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.CharByteMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.CharByteProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.CharByteMappublic org.eclipse.collections.api.LazyCharIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.CharByteMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.CharBytePair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.CharByteMappublic org.eclipse.collections.api.map.primitive.MutableCharByteMap select(org.eclipse.collections.api.block.predicate.primitive.CharBytePredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.CharByteMapselect in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic org.eclipse.collections.api.map.primitive.MutableCharByteMap reject(org.eclipse.collections.api.block.predicate.primitive.CharBytePredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.CharByteMapreject in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic org.eclipse.collections.api.iterator.MutableByteIterator byteIterator()
byteIterator in interface org.eclipse.collections.api.ByteIterablebyteIterator in interface org.eclipse.collections.api.map.primitive.MutableByteValuesMappublic void forEach(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure)
forEach in interface org.eclipse.collections.api.ByteIterablepublic void each(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure)
each in interface org.eclipse.collections.api.ByteIterablepublic int count(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
count in interface org.eclipse.collections.api.ByteIterablepublic boolean anySatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
anySatisfy in interface org.eclipse.collections.api.ByteIterablepublic boolean allSatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
allSatisfy in interface org.eclipse.collections.api.ByteIterablepublic boolean noneSatisfy(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
noneSatisfy in interface org.eclipse.collections.api.ByteIterablepublic org.eclipse.collections.api.collection.primitive.MutableByteCollection select(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
select in interface org.eclipse.collections.api.ByteIterableselect in interface org.eclipse.collections.api.map.primitive.MutableByteValuesMappublic org.eclipse.collections.api.collection.primitive.MutableByteCollection reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate)
reject in interface org.eclipse.collections.api.ByteIterablereject in interface org.eclipse.collections.api.map.primitive.MutableByteValuesMappublic byte detectIfNone(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate,
byte ifNone)
detectIfNone in interface org.eclipse.collections.api.ByteIterablepublic <V> org.eclipse.collections.api.collection.MutableCollection<V> collect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction<? extends V> function)
collect in interface org.eclipse.collections.api.ByteIterablecollect in interface org.eclipse.collections.api.map.primitive.MutableByteValuesMappublic long sum()
sum in interface org.eclipse.collections.api.ByteIterablepublic byte max()
max in interface org.eclipse.collections.api.ByteIterablepublic byte maxIfEmpty(byte defaultValue)
maxIfEmpty in interface org.eclipse.collections.api.ByteIterablepublic byte min()
min in interface org.eclipse.collections.api.ByteIterablepublic byte minIfEmpty(byte defaultValue)
minIfEmpty in interface org.eclipse.collections.api.ByteIterablepublic double average()
average in interface org.eclipse.collections.api.ByteIterablepublic double median()
median in interface org.eclipse.collections.api.ByteIterablepublic byte addToValue(char key,
byte toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic byte[] toSortedArray()
toSortedArray in interface org.eclipse.collections.api.ByteIterablepublic org.eclipse.collections.api.list.primitive.MutableByteList toSortedList()
toSortedList in interface org.eclipse.collections.api.ByteIterablepublic byte[] toArray()
toArray in interface org.eclipse.collections.api.ByteIterablepublic boolean contains(byte value)
contains in interface org.eclipse.collections.api.ByteIterablepublic boolean containsAll(byte... source)
containsAll in interface org.eclipse.collections.api.ByteIterablepublic boolean containsAll(org.eclipse.collections.api.ByteIterable source)
containsAll in interface org.eclipse.collections.api.ByteIterablepublic org.eclipse.collections.api.list.primitive.MutableByteList toList()
toList in interface org.eclipse.collections.api.ByteIterablepublic org.eclipse.collections.api.set.primitive.MutableByteSet toSet()
toSet in interface org.eclipse.collections.api.ByteIterablepublic org.eclipse.collections.api.bag.primitive.MutableByteBag toBag()
toBag in interface org.eclipse.collections.api.ByteIterablepublic org.eclipse.collections.api.LazyByteIterable asLazy()
asLazy in interface org.eclipse.collections.api.ByteIterablepublic org.eclipse.collections.api.map.primitive.MutableCharByteMap withKeyValue(char key,
byte value)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic org.eclipse.collections.api.map.primitive.MutableCharByteMap withoutKey(char key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic org.eclipse.collections.api.map.primitive.MutableCharByteMap withoutAllKeys(org.eclipse.collections.api.CharIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic org.eclipse.collections.api.map.primitive.MutableCharByteMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic org.eclipse.collections.api.map.primitive.MutableCharByteMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableCharByteMappublic org.eclipse.collections.api.map.primitive.ImmutableCharByteMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.CharByteMappublic 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.MutableCharSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.CharByteMappublic org.eclipse.collections.api.collection.primitive.MutableByteCollection values()
values in interface org.eclipse.collections.api.map.primitive.ByteValuesMappublic 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.ObjectByteToObjectFunction<? super T,? extends T> function)
injectInto in interface org.eclipse.collections.api.ByteIterableCopyright © 2004–2018. All rights reserved.