Class UnmodifiableByteIntMap
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableByteIntMap
- All Implemented Interfaces:
Serializable,IntIterable,ByteIntMap,IntValuesMap,MutableByteIntMap,MutableIntValuesMap,PrimitiveIterable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintaddToValue(byte key, int toBeAdded) booleanallSatisfy(IntPredicate predicate) booleananySatisfy(IntPredicate 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(IntToObjectFunction<? extends V> function) booleancontains(int value) booleancontainsAll(int... source) booleancontainsAll(IntIterable source) booleancontainsKey(byte key) booleancontainsValue(int value) intcount(IntPredicate predicate) intdetectIfNone(IntPredicate predicate, int ifNone) voideach(IntProcedure procedure) booleanvoidforEachKey(ByteProcedure procedure) voidforEachKeyValue(ByteIntProcedure procedure) voidforEachValue(IntProcedure procedure) intget(byte key) intgetAndPut(byte key, int putValue, int defaultValue) intgetIfAbsent(byte key, int ifAbsent) intgetIfAbsentPut(byte key, int value) intgetIfAbsentPut(byte key, IntFunction0 function) <P> intgetIfAbsentPutWith(byte key, IntFunction<? super P> function, P parameter) intgetIfAbsentPutWithKey(byte key, ByteToIntFunction function) intgetOrThrow(byte key) inthashCode()<T> TinjectInto(T injectedValue, ObjectIntToObjectFunction<? super T, ? extends T> function) booleanisEmpty()keySet()keysView()makeString(String separator) makeString(String start, String separator, String end) intmax()intmaxIfEmpty(int defaultValue) doublemedian()intmin()intminIfEmpty(int defaultValue) booleannoneSatisfy(IntPredicate predicate) booleannotEmpty()voidput(byte key, int value) voidputAll(ByteIntMap map) voidputPair(ByteIntPair keyValuePair) reject(ByteIntPredicate predicate) reject(IntPredicate predicate) voidremove(byte key) voidremoveKey(byte key) intremoveKeyIfAbsent(byte key, int value) select(ByteIntPredicate predicate) select(IntPredicate predicate) intsize()longsum()int[]toArray()int[]toArray(int[] target) toBag()toList()toSet()int[]toString()intupdateValue(byte key, int initialValueIfAbsent, IntToIntFunction function) voidupdateValues(ByteIntToIntFunction function) values()withKeyValue(byte key, int value) withoutAllKeys(ByteIterable keys) withoutKey(byte key) Methods inherited from interface org.eclipse.collections.api.map.primitive.ByteIntMap
allSatisfyKeyValue, injectIntoKeyValueMethods inherited from interface org.eclipse.collections.api.IntIterable
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.IntValuesMap
tapMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableByteIntMap
withAllKeyValues
-
Constructor Details
-
UnmodifiableByteIntMap
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceMutableIntValuesMap
-
put
public void put(byte key, int value) - Specified by:
putin interfaceMutableByteIntMap
-
putPair
- Specified by:
putPairin interfaceMutableByteIntMap
-
putAll
- Specified by:
putAllin interfaceMutableByteIntMap
-
updateValues
- Specified by:
updateValuesin interfaceMutableByteIntMap
-
removeKey
public void removeKey(byte key) - Specified by:
removeKeyin interfaceMutableByteIntMap
-
remove
public void remove(byte key) - Specified by:
removein interfaceMutableByteIntMap
-
removeKeyIfAbsent
public int removeKeyIfAbsent(byte key, int value) - Specified by:
removeKeyIfAbsentin interfaceMutableByteIntMap
-
getIfAbsentPut
public int getIfAbsentPut(byte key, int value) - Specified by:
getIfAbsentPutin interfaceMutableByteIntMap
-
getAndPut
public int getAndPut(byte key, int putValue, int defaultValue) - Specified by:
getAndPutin interfaceMutableByteIntMap
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableByteIntMap
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableByteIntMap
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableByteIntMap
-
updateValue
- Specified by:
updateValuein interfaceMutableByteIntMap
-
get
public int get(byte key) - Specified by:
getin interfaceByteIntMap
-
getIfAbsent
public int getIfAbsent(byte key, int ifAbsent) - Specified by:
getIfAbsentin interfaceByteIntMap
-
getOrThrow
public int getOrThrow(byte key) - Specified by:
getOrThrowin interfaceByteIntMap
-
containsKey
public boolean containsKey(byte key) - Specified by:
containsKeyin interfaceByteIntMap
-
containsValue
public boolean containsValue(int value) - Specified by:
containsValuein interfaceIntValuesMap
-
forEachValue
- Specified by:
forEachValuein interfaceIntValuesMap
-
forEachKey
- Specified by:
forEachKeyin interfaceByteIntMap
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceByteIntMap
-
keysView
- Specified by:
keysViewin interfaceByteIntMap
-
keyValuesView
- Specified by:
keyValuesViewin interfaceByteIntMap
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceByteIntMap- Specified by:
flipUniqueValuesin interfaceMutableByteIntMap
-
select
- Specified by:
selectin interfaceByteIntMap- Specified by:
selectin interfaceMutableByteIntMap
-
reject
- Specified by:
rejectin interfaceByteIntMap- Specified by:
rejectin interfaceMutableByteIntMap
-
intIterator
- Specified by:
intIteratorin interfaceIntIterable- Specified by:
intIteratorin interfaceMutableIntValuesMap
-
each
- Specified by:
eachin interfaceIntIterable- Since:
- 7.0.
-
count
- Specified by:
countin interfaceIntIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceIntIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceIntIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceIntIterable
-
select
- Specified by:
selectin interfaceIntIterable- Specified by:
selectin interfaceIntValuesMap- Specified by:
selectin interfaceMutableIntValuesMap
-
reject
- Specified by:
rejectin interfaceIntIterable- Specified by:
rejectin interfaceIntValuesMap- Specified by:
rejectin interfaceMutableIntValuesMap
-
collect
- Specified by:
collectin interfaceIntIterable- Specified by:
collectin interfaceIntValuesMap- Specified by:
collectin interfaceMutableIntValuesMap
-
detectIfNone
- Specified by:
detectIfNonein interfaceIntIterable
-
sum
public long sum()- Specified by:
sumin interfaceIntIterable
-
max
public int max()- Specified by:
maxin interfaceIntIterable
-
maxIfEmpty
public int maxIfEmpty(int defaultValue) - Specified by:
maxIfEmptyin interfaceIntIterable
-
min
public int min()- Specified by:
minin interfaceIntIterable
-
minIfEmpty
public int minIfEmpty(int defaultValue) - Specified by:
minIfEmptyin interfaceIntIterable
-
average
public double average()- Specified by:
averagein interfaceIntIterable
-
median
public double median()- Specified by:
medianin interfaceIntIterable
-
addToValue
public int addToValue(byte key, int toBeAdded) - Specified by:
addToValuein interfaceMutableByteIntMap
-
toSortedArray
public int[] toSortedArray()- Specified by:
toSortedArrayin interfaceIntIterable
-
toSortedList
- Specified by:
toSortedListin interfaceIntIterable
-
toArray
public int[] toArray()- Specified by:
toArrayin interfaceIntIterable
-
toArray
public int[] toArray(int[] target) - Specified by:
toArrayin interfaceIntIterable
-
contains
public boolean contains(int value) - Specified by:
containsin interfaceIntIterable
-
containsAll
public boolean containsAll(int... source) - Specified by:
containsAllin interfaceIntIterable
-
containsAll
- Specified by:
containsAllin interfaceIntIterable
-
toList
- Specified by:
toListin interfaceIntIterable
-
toSet
- Specified by:
toSetin interfaceIntIterable
-
toBag
- Specified by:
toBagin interfaceIntIterable
-
asLazy
- Specified by:
asLazyin interfaceIntIterable
-
withKeyValue
- Specified by:
withKeyValuein interfaceMutableByteIntMap
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableByteIntMap
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableByteIntMap
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableByteIntMap
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableByteIntMap
-
toImmutable
- Specified by:
toImmutablein interfaceByteIntMap
-
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 interfaceByteIntMap
-
values
- Specified by:
valuesin interfaceIntValuesMap
-
equals
- Specified by:
equalsin interfaceByteIntMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceByteIntMap- Overrides:
hashCodein classObject
-
toString
- Specified by:
toStringin interfaceByteIntMap- 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
- Specified by:
injectIntoin interfaceIntIterable
-
chunk
- Specified by:
chunkin interfaceIntIterable
-