Class UnmodifiableObjectByteMap<K>
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableObjectByteMap<K>
- All Implemented Interfaces:
Serializable,ByteIterable,MutableObjectByteMap<K>,ObjectByteMap<K>,PrimitiveIterable
public class UnmodifiableObjectByteMap<K>
extends Object
implements MutableObjectByteMap<K>, Serializable
This file was automatically generated from template file unmodifiableObjectPrimitiveMap.stg.
- Since:
- 3.2
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyteaddToValue(K key, byte toBeAdded) booleanallSatisfy(BytePredicate predicate) booleananySatisfy(BytePredicate 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(ByteToObjectFunction<? extends V1> function) booleancontains(byte value) booleancontainsAll(byte... source) booleancontainsAll(ByteIterable source) booleancontainsKey(Object key) booleancontainsValue(byte value) intcount(BytePredicate predicate) bytedetectIfNone(BytePredicate predicate, byte ifNone) voideach(ByteProcedure procedure) booleanvoidforEachKey(Procedure<? super K> procedure) voidforEachKeyValue(ObjectByteProcedure<? super K> procedure) voidforEachValue(ByteProcedure procedure) bytebytebytegetIfAbsent(Object key, byte ifAbsent) bytegetIfAbsentPut(K key, byte value) bytegetIfAbsentPut(K key, ByteFunction0 function) <P> bytegetIfAbsentPutWith(K key, ByteFunction<? super P> function, P parameter) bytegetIfAbsentPutWithKey(K key, ByteFunction<? super K> function) bytegetOrThrow(Object key) inthashCode()<T> TinjectInto(T injectedValue, ObjectByteToObjectFunction<? super T, ? extends T> function) booleanisEmpty()keySet()keysView()makeString(String separator) makeString(String start, String separator, String end) bytemax()bytemaxIfEmpty(byte defaultValue) doublemedian()bytemin()byteminIfEmpty(byte defaultValue) booleannoneSatisfy(BytePredicate predicate) booleannotEmpty()voidvoidputAll(ObjectByteMap<? extends K> map) voidputPair(ObjectBytePair<K> keyValuePair) reject(BytePredicate predicate) reject(ObjectBytePredicate<? super K> predicate) voidvoidbyteremoveKeyIfAbsent(K key, byte value) select(BytePredicate predicate) select(ObjectBytePredicate<? super K> predicate) intsize()longsum()byte[]toArray()byte[]toArray(byte[] target) toBag()toList()toSet()byte[]toString()byteupdateValue(K key, byte initialValueIfAbsent, ByteToByteFunction function) voidupdateValues(ObjectByteToByteFunction<? super K> function) values()withKeyValue(K key, byte value) withoutAllKeys(Iterable<? extends K> keys) withoutKey(K key) Methods inherited from interface org.eclipse.collections.api.ByteIterable
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.MutableObjectByteMap
tap, withAllKeyValuesMethods inherited from interface org.eclipse.collections.api.map.primitive.ObjectByteMap
allSatisfyKeyValue, injectIntoKeyValue
-
Constructor Details
-
UnmodifiableObjectByteMap
-
-
Method Details
-
getAndPut
- Specified by:
getAndPutin interfaceMutableObjectByteMap<K>
-
clear
public void clear()- Specified by:
clearin interfaceMutableObjectByteMap<K>
-
put
- Specified by:
putin interfaceMutableObjectByteMap<K>
-
putPair
- Specified by:
putPairin interfaceMutableObjectByteMap<K>
-
putAll
- Specified by:
putAllin interfaceMutableObjectByteMap<K>
-
updateValues
- Specified by:
updateValuesin interfaceMutableObjectByteMap<K>
-
removeKey
- Specified by:
removeKeyin interfaceMutableObjectByteMap<K>
-
remove
- Specified by:
removein interfaceMutableObjectByteMap<K>
-
removeKeyIfAbsent
- Specified by:
removeKeyIfAbsentin interfaceMutableObjectByteMap<K>
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableObjectByteMap<K>
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableObjectByteMap<K>
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableObjectByteMap<K>
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableObjectByteMap<K>
-
updateValue
- Specified by:
updateValuein interfaceMutableObjectByteMap<K>
-
addToValue
- Specified by:
addToValuein interfaceMutableObjectByteMap<K>
-
get
- Specified by:
getin interfaceObjectByteMap<K>
-
getOrThrow
- Specified by:
getOrThrowin interfaceObjectByteMap<K>
-
getIfAbsent
- Specified by:
getIfAbsentin interfaceObjectByteMap<K>
-
containsKey
- Specified by:
containsKeyin interfaceObjectByteMap<K>
-
containsValue
public boolean containsValue(byte value) - Specified by:
containsValuein interfaceObjectByteMap<K>
-
forEachValue
- Specified by:
forEachValuein interfaceObjectByteMap<K>
-
forEachKey
- Specified by:
forEachKeyin interfaceObjectByteMap<K>
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceObjectByteMap<K>
-
select
- Specified by:
selectin interfaceMutableObjectByteMap<K>- Specified by:
selectin interfaceObjectByteMap<K>
-
reject
- Specified by:
rejectin interfaceMutableObjectByteMap<K>- Specified by:
rejectin interfaceObjectByteMap<K>
-
byteIterator
- Specified by:
byteIteratorin interfaceByteIterable- Specified by:
byteIteratorin interfaceMutableObjectByteMap<K>
-
each
- Specified by:
eachin interfaceByteIterable- Since:
- 7.0.
-
count
- Specified by:
countin interfaceByteIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceByteIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceByteIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceByteIterable
-
select
- Specified by:
selectin interfaceByteIterable- Specified by:
selectin interfaceMutableObjectByteMap<K>
-
reject
- Specified by:
rejectin interfaceByteIterable- Specified by:
rejectin interfaceMutableObjectByteMap<K>
-
detectIfNone
- Specified by:
detectIfNonein interfaceByteIterable
-
collect
- Specified by:
collectin interfaceByteIterable- Specified by:
collectin interfaceMutableObjectByteMap<K>
-
sum
public long sum()- Specified by:
sumin interfaceByteIterable
-
max
public byte max()- Specified by:
maxin interfaceByteIterable
-
maxIfEmpty
public byte maxIfEmpty(byte defaultValue) - Specified by:
maxIfEmptyin interfaceByteIterable
-
min
public byte min()- Specified by:
minin interfaceByteIterable
-
minIfEmpty
public byte minIfEmpty(byte defaultValue) - Specified by:
minIfEmptyin interfaceByteIterable
-
average
public double average()- Specified by:
averagein interfaceByteIterable
-
median
public double median()- Specified by:
medianin interfaceByteIterable
-
toSortedArray
public byte[] toSortedArray()- Specified by:
toSortedArrayin interfaceByteIterable
-
toSortedList
- Specified by:
toSortedListin interfaceByteIterable
-
toArray
public byte[] toArray()- Specified by:
toArrayin interfaceByteIterable
-
toArray
public byte[] toArray(byte[] target) - Specified by:
toArrayin interfaceByteIterable
-
contains
public boolean contains(byte value) - Specified by:
containsin interfaceByteIterable
-
containsAll
public boolean containsAll(byte... source) - Specified by:
containsAllin interfaceByteIterable
-
containsAll
- Specified by:
containsAllin interfaceByteIterable
-
toList
- Specified by:
toListin interfaceByteIterable
-
toSet
- Specified by:
toSetin interfaceByteIterable
-
toBag
- Specified by:
toBagin interfaceByteIterable
-
asLazy
- Specified by:
asLazyin interfaceByteIterable
-
withKeyValue
- Specified by:
withKeyValuein interfaceMutableObjectByteMap<K>
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableObjectByteMap<K>
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableObjectByteMap<K>
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableObjectByteMap<K>
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableObjectByteMap<K>
-
toImmutable
- Specified by:
toImmutablein interfaceObjectByteMap<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 interfaceObjectByteMap<K>
-
values
- Specified by:
valuesin interfaceObjectByteMap<K>
-
keysView
- Specified by:
keysViewin interfaceObjectByteMap<K>
-
keyValuesView
- Specified by:
keyValuesViewin interfaceObjectByteMap<K>
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceMutableObjectByteMap<K>- Specified by:
flipUniqueValuesin interfaceObjectByteMap<K>
-
equals
-
hashCode
public int hashCode() -
toString
- Specified by:
toStringin interfaceObjectByteMap<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, ObjectByteToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceByteIterable
-
chunk
- Specified by:
chunkin interfaceByteIterable
-