public final class UnmodifiableShortByteMap extends Object implements org.eclipse.collections.api.map.primitive.MutableShortByteMap, Serializable
| Modifier and Type | Method and Description |
|---|---|
byte |
addToValue(short 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.MutableShortByteMap |
asSynchronized() |
org.eclipse.collections.api.map.primitive.MutableShortByteMap |
asUnmodifiable() |
double |
average() |
org.eclipse.collections.api.iterator.MutableByteIterator |
byteIterator() |
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(short 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.ShortProcedure procedure) |
void |
forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.ShortByteProcedure procedure) |
void |
forEachValue(org.eclipse.collections.api.block.procedure.primitive.ByteProcedure procedure) |
byte |
get(short key) |
byte |
getIfAbsent(short key,
byte ifAbsent) |
byte |
getIfAbsentPut(short key,
byte value) |
byte |
getIfAbsentPut(short key,
org.eclipse.collections.api.block.function.primitive.ByteFunction0 function) |
<P> byte |
getIfAbsentPutWith(short key,
org.eclipse.collections.api.block.function.primitive.ByteFunction<? super P> function,
P parameter) |
byte |
getIfAbsentPutWithKey(short key,
org.eclipse.collections.api.block.function.primitive.ShortToByteFunction function) |
byte |
getOrThrow(short 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.MutableShortSet |
keySet() |
org.eclipse.collections.api.LazyShortIterable |
keysView() |
org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.ShortBytePair> |
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(short key,
byte value) |
void |
putAll(org.eclipse.collections.api.map.primitive.ShortByteMap map) |
org.eclipse.collections.api.collection.primitive.MutableByteCollection |
reject(org.eclipse.collections.api.block.predicate.primitive.BytePredicate predicate) |
org.eclipse.collections.api.map.primitive.MutableShortByteMap |
reject(org.eclipse.collections.api.block.predicate.primitive.ShortBytePredicate predicate) |
void |
remove(short key) |
void |
removeKey(short key) |
byte |
removeKeyIfAbsent(short 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.MutableShortByteMap |
select(org.eclipse.collections.api.block.predicate.primitive.ShortBytePredicate predicate) |
int |
size() |
long |
sum() |
byte[] |
toArray() |
org.eclipse.collections.api.bag.primitive.MutableByteBag |
toBag() |
org.eclipse.collections.api.map.primitive.ImmutableShortByteMap |
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(short 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.MutableShortByteMap |
withKeyValue(short key,
byte value) |
org.eclipse.collections.api.map.primitive.MutableShortByteMap |
withoutAllKeys(org.eclipse.collections.api.ShortIterable keys) |
org.eclipse.collections.api.map.primitive.MutableShortByteMap |
withoutKey(short key) |
public void clear()
clear in interface org.eclipse.collections.api.map.primitive.MutableByteValuesMappublic void put(short key,
byte value)
put in interface org.eclipse.collections.api.map.primitive.MutableShortByteMappublic void putAll(org.eclipse.collections.api.map.primitive.ShortByteMap map)
putAll in interface org.eclipse.collections.api.map.primitive.MutableShortByteMappublic void removeKey(short key)
removeKey in interface org.eclipse.collections.api.map.primitive.MutableShortByteMappublic void remove(short key)
remove in interface org.eclipse.collections.api.map.primitive.MutableShortByteMappublic byte removeKeyIfAbsent(short key,
byte value)
removeKeyIfAbsent in interface org.eclipse.collections.api.map.primitive.MutableShortByteMappublic byte getIfAbsentPut(short key,
byte value)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableShortByteMappublic byte getIfAbsentPut(short key,
org.eclipse.collections.api.block.function.primitive.ByteFunction0 function)
getIfAbsentPut in interface org.eclipse.collections.api.map.primitive.MutableShortByteMappublic byte getIfAbsentPutWithKey(short key,
org.eclipse.collections.api.block.function.primitive.ShortToByteFunction function)
getIfAbsentPutWithKey in interface org.eclipse.collections.api.map.primitive.MutableShortByteMappublic <P> byte getIfAbsentPutWith(short key,
org.eclipse.collections.api.block.function.primitive.ByteFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface org.eclipse.collections.api.map.primitive.MutableShortByteMappublic byte updateValue(short key,
byte initialValueIfAbsent,
org.eclipse.collections.api.block.function.primitive.ByteToByteFunction function)
updateValue in interface org.eclipse.collections.api.map.primitive.MutableShortByteMappublic byte get(short key)
get in interface org.eclipse.collections.api.map.primitive.ShortByteMappublic byte getIfAbsent(short key,
byte ifAbsent)
getIfAbsent in interface org.eclipse.collections.api.map.primitive.ShortByteMappublic byte getOrThrow(short key)
getOrThrow in interface org.eclipse.collections.api.map.primitive.ShortByteMappublic boolean containsKey(short key)
containsKey in interface org.eclipse.collections.api.map.primitive.ShortByteMappublic 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.ShortProcedure procedure)
forEachKey in interface org.eclipse.collections.api.map.primitive.ShortByteMappublic void forEachKeyValue(org.eclipse.collections.api.block.procedure.primitive.ShortByteProcedure procedure)
forEachKeyValue in interface org.eclipse.collections.api.map.primitive.ShortByteMappublic org.eclipse.collections.api.LazyShortIterable keysView()
keysView in interface org.eclipse.collections.api.map.primitive.ShortByteMappublic org.eclipse.collections.api.RichIterable<org.eclipse.collections.api.tuple.primitive.ShortBytePair> keyValuesView()
keyValuesView in interface org.eclipse.collections.api.map.primitive.ShortByteMappublic org.eclipse.collections.api.map.primitive.MutableShortByteMap select(org.eclipse.collections.api.block.predicate.primitive.ShortBytePredicate predicate)
select in interface org.eclipse.collections.api.map.primitive.MutableShortByteMapselect in interface org.eclipse.collections.api.map.primitive.ShortByteMappublic org.eclipse.collections.api.map.primitive.MutableShortByteMap reject(org.eclipse.collections.api.block.predicate.primitive.ShortBytePredicate predicate)
reject in interface org.eclipse.collections.api.map.primitive.MutableShortByteMapreject in interface org.eclipse.collections.api.map.primitive.ShortByteMappublic 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(short key,
byte toBeAdded)
addToValue in interface org.eclipse.collections.api.map.primitive.MutableShortByteMappublic 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.MutableShortByteMap withKeyValue(short key,
byte value)
withKeyValue in interface org.eclipse.collections.api.map.primitive.MutableShortByteMappublic org.eclipse.collections.api.map.primitive.MutableShortByteMap withoutKey(short key)
withoutKey in interface org.eclipse.collections.api.map.primitive.MutableShortByteMappublic org.eclipse.collections.api.map.primitive.MutableShortByteMap withoutAllKeys(org.eclipse.collections.api.ShortIterable keys)
withoutAllKeys in interface org.eclipse.collections.api.map.primitive.MutableShortByteMappublic org.eclipse.collections.api.map.primitive.MutableShortByteMap asUnmodifiable()
asUnmodifiable in interface org.eclipse.collections.api.map.primitive.MutableShortByteMappublic org.eclipse.collections.api.map.primitive.MutableShortByteMap asSynchronized()
asSynchronized in interface org.eclipse.collections.api.map.primitive.MutableShortByteMappublic org.eclipse.collections.api.map.primitive.ImmutableShortByteMap toImmutable()
toImmutable in interface org.eclipse.collections.api.map.primitive.ShortByteMappublic 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.MutableShortSet keySet()
keySet in interface org.eclipse.collections.api.map.primitive.ShortByteMappublic 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.