public final class SynchronizedObjectByteMap<K> extends Object implements org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>, Serializable
MutableObjectByteMap. It is imperative that the user manually synchronize on the collection when iterating over it using the
ByteIterator as per Collections.synchronizedCollection(Collection).
This file was automatically generated from template file synchronizedObjectPrimitiveMap.stg.
MutableObjectByteMap.asSynchronized(),
MutableMap.asSynchronized(),
Serialized Form| Modifier and Type | Method and Description |
|---|---|
byte |
addToValue(K 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.MutableObjectByteMap<K> |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K> |
asUnmodifiable() |
double |
average() |
org.eclipse.collections.api.iterator.MutableByteIterator |
byteIterator()
Must be called in a synchronized block.
|
void |
clear() |
<V1> org.eclipse.collections.api.collection.MutableCollection<V1> |
collect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction<? extends V1> function) |
boolean |
contains(byte value) |
boolean |
containsAll(byte... source) |
boolean |
containsAll(org.eclipse.collections.api.ByteIterable source) |
boolean |
containsKey(Object 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 obj) |
void |
forEach(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure) |
void |
forEachKey(org.eclipse.collections.api.block.procedure.Procedure<? super K> procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.ObjectByteProcedure<? super K> procedure) |
void |
forEachValue(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure) |
byte |
get(Object key) |
byte |
getIfAbsent(Object key,
byte ifAbsent) |
byte |
getIfAbsentPut(K key,
byte value) |
byte |
getIfAbsentPut(K key,
org.eclipse.collections.api.block.function.primitive.ByteFunction0 function) |
<P> byte |
getIfAbsentPutWith(K key,
org.eclipse.collections.api.block.function.primitive.ByteFunction<? super P> function,
P parameter) |
byte |
getIfAbsentPutWithKey(K key,
org.eclipse.collections.api.block.function.primitive.ByteFunction<? super K> function) |
byte |
getOrThrow(Object key) |
int |
hashCode() |
<T> T |
injectInto(T injectedValue,
org.eclipse.collections.api.block.function.primitive.ObjectByteToObjectFunction<? super T,? extends T> function) |
boolean |
isEmpty() |
Set<K> |
keySet() |
org.eclipse.collections.api.LazyIterable<K> |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.ObjectBytePair<K>> |
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(K key,
byte value) |
void |
putAll(org.eclipse.collections.api.map.primitive.ObjectByteMap<? extends K> map) |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K> |
reject(org.eclipse.collections.api.block.predicate.primitive.ObjectBytePredicate<? super K> predicate) |
void |
remove(Object key) |
void |
removeKey(K key) |
byte |
removeKeyIfAbsent(K 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.MutableObjectByteMap<K> |
select(org.eclipse.collections.api.block.predicate.primitive.ObjectBytePredicate<? super K> predicate) |
int |
size() |
long |
sum() |
byte[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableByteBag |
toBag() |
org.eclipse.collections.api.map.primitive.ImmutableObjectByteMap<K> |
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(K 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.MutableObjectByteMap<K> |
withKeyValue(K key,
byte value) |
org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K> |
withoutAllKeys(Iterable<? extends K> keys) |
org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K> |
withoutKey(K key) |
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public void put(K key, byte value)
put in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public void putAll(org.eclipse.collections.api.map.primitive.ObjectByteMap<? extends K> map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public void removeKey(K key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public void remove(Object key)
remove in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public byte removeKeyIfAbsent(K key, byte value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public byte getIfAbsentPut(K key, byte value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public byte getIfAbsentPut(K key, org.eclipse.collections.api.block.function.primitive.ByteFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public byte getIfAbsentPutWithKey(K key, org.eclipse.collections.api.block.function.primitive.ByteFunction<? super K> function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public <P> byte getIfAbsentPutWith(K key, org.eclipse.collections.api.block.function.primitive.ByteFunction<? super P> function, P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public byte updateValue(K key, byte initialValueIfAbsent, org.eclipse.collections.api.block.function.primitive.ByteToByteFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public byte get(Object key)
get in interface org.eclipse.collections.api.map.primitive.ObjectByteMap<K>public byte getOrThrow(Object key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.ObjectByteMap<K>public byte getIfAbsent(Object key, byte ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.ObjectByteMap<K>public boolean containsKey(Object key)
containsKey in interface org.eclipse.collections.api.map.primitive.ObjectByteMap<K>public boolean containsValue(byte value)
containsValue in interface org.eclipse.collections.api.map.primitive.ObjectByteMap<K>public void forEachValue(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure)
forEachValue in interface org.eclipse.collections.api.map.primitive.ObjectByteMap<K>public void forEachKey(org.eclipse.collections.api.block.procedure.Procedure<? super K> procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.ObjectByteMap<K>public void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.ObjectByteProcedure<? super K> procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.ObjectByteMap<K>public org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K> select(org.eclipse.collections.api.block.predicate.primitive.ObjectBytePredicate<? super K> predicate)
public org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K> reject(org.eclipse.collections.api.block.predicate.primitive.ObjectBytePredicate<? super K> predicate)
public org.eclipse.collections.api.iterator.MutableByteIterator byteIterator()
byteIterator in interface org.eclipse.collections.api.ByteIterablebyteIterator in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public 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.MutableObjectByteMap<K>public 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.MutableObjectByteMap<K>public byte detectIfNone(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate,
byte ifNone)
detectIfNone in interface org.eclipse.collections.api.ByteIterablepublic <V1> org.eclipse.collections.api.collection.MutableCollection<V1> collect(org.eclipse.collections.api.block.function.primitive.ByteToObjectFunction<? extends V1> function)
collect in interface org.eclipse.collections.api.ByteIterablecollect in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public long sum()
sum in interface org.eclipse.collections.api.ByteIterablepublic byte addToValue(K key, byte toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public 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[] 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.MutableObjectByteMap<K> withKeyValue(K key, byte value)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K> withoutKey(K key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K> withoutAllKeys(Iterable<? extends K> keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K> asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K> asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableObjectByteMap<K>public org.eclipse.collections.api.map.primitive.ImmutableObjectByteMap<K> toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.ObjectByteMap<K>public 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 Set<K> keySet()
keySet in interface org.eclipse.collections.api.map.primitive.ObjectByteMap<K>public org.eclipse.collections.api.collection.primitive.MutableByteCollection values()
values in interface org.eclipse.collections.api.map.primitive.ObjectByteMap<K>public org.eclipse.collections.api.LazyIterable<K> keysView()
keysView in interface org.eclipse.collections.api.map.primitive.ObjectByteMap<K>public org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.ObjectBytePair<K>> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.ObjectByteMap<K>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.