Class UnmodifiableByteByteMap
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableByteByteMap
- All Implemented Interfaces:
Serializable,ByteIterable,ByteByteMap,ByteValuesMap,MutableByteByteMap,MutableByteValuesMap,PrimitiveIterable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbyteaddToValue(byte 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()<V> MutableBag<V>collect(ByteToObjectFunction<? extends V> function) booleancontains(byte value) booleancontainsAll(byte... source) booleancontainsAll(ByteIterable source) booleancontainsKey(byte key) booleancontainsValue(byte value) intcount(BytePredicate predicate) bytedetectIfNone(BytePredicate predicate, byte ifNone) voideach(ByteProcedure procedure) booleanvoidforEachKey(ByteProcedure procedure) voidforEachKeyValue(ByteByteProcedure procedure) voidforEachValue(ByteProcedure procedure) byteget(byte key) bytegetAndPut(byte key, byte putValue, byte defaultValue) bytegetIfAbsent(byte key, byte ifAbsent) bytegetIfAbsentPut(byte key, byte value) bytegetIfAbsentPut(byte key, ByteFunction0 function) <P> bytegetIfAbsentPutWith(byte key, ByteFunction<? super P> function, P parameter) bytegetIfAbsentPutWithKey(byte key, ByteToByteFunction function) bytegetOrThrow(byte 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()voidput(byte key, byte value) voidputAll(ByteByteMap map) voidputPair(ByteBytePair keyValuePair) reject(ByteBytePredicate predicate) reject(BytePredicate predicate) voidremove(byte key) voidremoveKey(byte key) byteremoveKeyIfAbsent(byte key, byte value) select(ByteBytePredicate predicate) select(BytePredicate predicate) intsize()longsum()byte[]toArray()byte[]toArray(byte[] target) toBag()toList()toSet()byte[]toString()byteupdateValue(byte key, byte initialValueIfAbsent, ByteToByteFunction function) voidupdateValues(ByteByteToByteFunction function) values()withKeyValue(byte key, byte value) withoutAllKeys(ByteIterable keys) withoutKey(byte key) Methods inherited from interface org.eclipse.collections.api.map.primitive.ByteByteMap
allSatisfyKeyValue, injectIntoKeyValueMethods 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.ByteValuesMap
tapMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableByteByteMap
withAllKeyValues
-
Constructor Details
-
UnmodifiableByteByteMap
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceMutableByteValuesMap
-
put
public void put(byte key, byte value) - Specified by:
putin interfaceMutableByteByteMap
-
putPair
- Specified by:
putPairin interfaceMutableByteByteMap
-
putAll
- Specified by:
putAllin interfaceMutableByteByteMap
-
updateValues
- Specified by:
updateValuesin interfaceMutableByteByteMap
-
removeKey
public void removeKey(byte key) - Specified by:
removeKeyin interfaceMutableByteByteMap
-
remove
public void remove(byte key) - Specified by:
removein interfaceMutableByteByteMap
-
removeKeyIfAbsent
public byte removeKeyIfAbsent(byte key, byte value) - Specified by:
removeKeyIfAbsentin interfaceMutableByteByteMap
-
getIfAbsentPut
public byte getIfAbsentPut(byte key, byte value) - Specified by:
getIfAbsentPutin interfaceMutableByteByteMap
-
getAndPut
public byte getAndPut(byte key, byte putValue, byte defaultValue) - Specified by:
getAndPutin interfaceMutableByteByteMap
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableByteByteMap
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableByteByteMap
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableByteByteMap
-
updateValue
- Specified by:
updateValuein interfaceMutableByteByteMap
-
get
public byte get(byte key) - Specified by:
getin interfaceByteByteMap
-
getIfAbsent
public byte getIfAbsent(byte key, byte ifAbsent) - Specified by:
getIfAbsentin interfaceByteByteMap
-
getOrThrow
public byte getOrThrow(byte key) - Specified by:
getOrThrowin interfaceByteByteMap
-
containsKey
public boolean containsKey(byte key) - Specified by:
containsKeyin interfaceByteByteMap
-
containsValue
public boolean containsValue(byte value) - Specified by:
containsValuein interfaceByteValuesMap
-
forEachValue
- Specified by:
forEachValuein interfaceByteValuesMap
-
forEachKey
- Specified by:
forEachKeyin interfaceByteByteMap
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceByteByteMap
-
keysView
- Specified by:
keysViewin interfaceByteByteMap
-
keyValuesView
- Specified by:
keyValuesViewin interfaceByteByteMap
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceByteByteMap- Specified by:
flipUniqueValuesin interfaceMutableByteByteMap
-
select
- Specified by:
selectin interfaceByteByteMap- Specified by:
selectin interfaceMutableByteByteMap
-
reject
- Specified by:
rejectin interfaceByteByteMap- Specified by:
rejectin interfaceMutableByteByteMap
-
byteIterator
- Specified by:
byteIteratorin interfaceByteIterable- Specified by:
byteIteratorin interfaceMutableByteValuesMap
-
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 interfaceByteValuesMap- Specified by:
selectin interfaceMutableByteValuesMap
-
reject
- Specified by:
rejectin interfaceByteIterable- Specified by:
rejectin interfaceByteValuesMap- Specified by:
rejectin interfaceMutableByteValuesMap
-
collect
- Specified by:
collectin interfaceByteIterable- Specified by:
collectin interfaceByteValuesMap- Specified by:
collectin interfaceMutableByteValuesMap
-
detectIfNone
- Specified by:
detectIfNonein interfaceByteIterable
-
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
-
addToValue
public byte addToValue(byte key, byte toBeAdded) - Specified by:
addToValuein interfaceMutableByteByteMap
-
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 interfaceMutableByteByteMap
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableByteByteMap
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableByteByteMap
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableByteByteMap
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableByteByteMap
-
toImmutable
- Specified by:
toImmutablein interfaceByteByteMap
-
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 interfaceByteByteMap
-
values
- Specified by:
valuesin interfaceByteValuesMap
-
equals
- Specified by:
equalsin interfaceByteByteMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceByteByteMap- Overrides:
hashCodein classObject
-
toString
- Specified by:
toStringin interfaceByteByteMap- 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
-