Class UnmodifiableShortShortMap
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableShortShortMap
- All Implemented Interfaces:
Serializable,MutableShortShortMap,MutableShortValuesMap,ShortShortMap,ShortValuesMap,PrimitiveIterable,ShortIterable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshortaddToValue(short key, short toBeAdded) booleanallSatisfy(ShortPredicate predicate) booleananySatisfy(ShortPredicate 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(ShortToObjectFunction<? extends V> function) booleancontains(short value) booleancontainsAll(short... source) booleancontainsAll(ShortIterable source) booleancontainsKey(short key) booleancontainsValue(short value) intcount(ShortPredicate predicate) shortdetectIfNone(ShortPredicate predicate, short ifNone) voideach(ShortProcedure procedure) booleanvoidforEachKey(ShortProcedure procedure) voidforEachKeyValue(ShortShortProcedure procedure) voidforEachValue(ShortProcedure procedure) shortget(short key) shortgetAndPut(short key, short putValue, short defaultValue) shortgetIfAbsent(short key, short ifAbsent) shortgetIfAbsentPut(short key, short value) shortgetIfAbsentPut(short key, ShortFunction0 function) <P> shortgetIfAbsentPutWith(short key, ShortFunction<? super P> function, P parameter) shortgetIfAbsentPutWithKey(short key, ShortToShortFunction function) shortgetOrThrow(short key) inthashCode()<T> TinjectInto(T injectedValue, ObjectShortToObjectFunction<? super T, ? extends T> function) booleanisEmpty()keySet()keysView()makeString(String separator) makeString(String start, String separator, String end) shortmax()shortmaxIfEmpty(short defaultValue) doublemedian()shortmin()shortminIfEmpty(short defaultValue) booleannoneSatisfy(ShortPredicate predicate) booleannotEmpty()voidput(short key, short value) voidputAll(ShortShortMap map) voidputPair(ShortShortPair keyValuePair) reject(ShortPredicate predicate) reject(ShortShortPredicate predicate) voidremove(short key) voidremoveKey(short key) shortremoveKeyIfAbsent(short key, short value) select(ShortPredicate predicate) select(ShortShortPredicate predicate) intsize()longsum()short[]toArray()short[]toArray(short[] target) toBag()toList()toSet()short[]toString()shortupdateValue(short key, short initialValueIfAbsent, ShortToShortFunction function) voidupdateValues(ShortShortToShortFunction function) values()withKeyValue(short key, short value) withoutAllKeys(ShortIterable keys) withoutKey(short key) Methods inherited from interface org.eclipse.collections.api.map.primitive.MutableShortShortMap
withAllKeyValuesMethods inherited from interface org.eclipse.collections.api.ShortIterable
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.ShortShortMap
allSatisfyKeyValue, injectIntoKeyValueMethods inherited from interface org.eclipse.collections.api.map.primitive.ShortValuesMap
tap
-
Constructor Details
-
UnmodifiableShortShortMap
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceMutableShortValuesMap
-
put
public void put(short key, short value) - Specified by:
putin interfaceMutableShortShortMap
-
putPair
- Specified by:
putPairin interfaceMutableShortShortMap
-
putAll
- Specified by:
putAllin interfaceMutableShortShortMap
-
updateValues
- Specified by:
updateValuesin interfaceMutableShortShortMap
-
removeKey
public void removeKey(short key) - Specified by:
removeKeyin interfaceMutableShortShortMap
-
remove
public void remove(short key) - Specified by:
removein interfaceMutableShortShortMap
-
removeKeyIfAbsent
public short removeKeyIfAbsent(short key, short value) - Specified by:
removeKeyIfAbsentin interfaceMutableShortShortMap
-
getIfAbsentPut
public short getIfAbsentPut(short key, short value) - Specified by:
getIfAbsentPutin interfaceMutableShortShortMap
-
getAndPut
public short getAndPut(short key, short putValue, short defaultValue) - Specified by:
getAndPutin interfaceMutableShortShortMap
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableShortShortMap
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableShortShortMap
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableShortShortMap
-
updateValue
- Specified by:
updateValuein interfaceMutableShortShortMap
-
get
public short get(short key) - Specified by:
getin interfaceShortShortMap
-
getIfAbsent
public short getIfAbsent(short key, short ifAbsent) - Specified by:
getIfAbsentin interfaceShortShortMap
-
getOrThrow
public short getOrThrow(short key) - Specified by:
getOrThrowin interfaceShortShortMap
-
containsKey
public boolean containsKey(short key) - Specified by:
containsKeyin interfaceShortShortMap
-
containsValue
public boolean containsValue(short value) - Specified by:
containsValuein interfaceShortValuesMap
-
forEachValue
- Specified by:
forEachValuein interfaceShortValuesMap
-
forEachKey
- Specified by:
forEachKeyin interfaceShortShortMap
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceShortShortMap
-
keysView
- Specified by:
keysViewin interfaceShortShortMap
-
keyValuesView
- Specified by:
keyValuesViewin interfaceShortShortMap
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceMutableShortShortMap- Specified by:
flipUniqueValuesin interfaceShortShortMap
-
select
- Specified by:
selectin interfaceMutableShortShortMap- Specified by:
selectin interfaceShortShortMap
-
reject
- Specified by:
rejectin interfaceMutableShortShortMap- Specified by:
rejectin interfaceShortShortMap
-
shortIterator
- Specified by:
shortIteratorin interfaceMutableShortValuesMap- Specified by:
shortIteratorin interfaceShortIterable
-
each
- Specified by:
eachin interfaceShortIterable- Since:
- 7.0.
-
count
- Specified by:
countin interfaceShortIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceShortIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceShortIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceShortIterable
-
select
- Specified by:
selectin interfaceMutableShortValuesMap- Specified by:
selectin interfaceShortIterable- Specified by:
selectin interfaceShortValuesMap
-
reject
- Specified by:
rejectin interfaceMutableShortValuesMap- Specified by:
rejectin interfaceShortIterable- Specified by:
rejectin interfaceShortValuesMap
-
collect
- Specified by:
collectin interfaceMutableShortValuesMap- Specified by:
collectin interfaceShortIterable- Specified by:
collectin interfaceShortValuesMap
-
detectIfNone
- Specified by:
detectIfNonein interfaceShortIterable
-
sum
public long sum()- Specified by:
sumin interfaceShortIterable
-
max
public short max()- Specified by:
maxin interfaceShortIterable
-
maxIfEmpty
public short maxIfEmpty(short defaultValue) - Specified by:
maxIfEmptyin interfaceShortIterable
-
min
public short min()- Specified by:
minin interfaceShortIterable
-
minIfEmpty
public short minIfEmpty(short defaultValue) - Specified by:
minIfEmptyin interfaceShortIterable
-
average
public double average()- Specified by:
averagein interfaceShortIterable
-
median
public double median()- Specified by:
medianin interfaceShortIterable
-
addToValue
public short addToValue(short key, short toBeAdded) - Specified by:
addToValuein interfaceMutableShortShortMap
-
toSortedArray
public short[] toSortedArray()- Specified by:
toSortedArrayin interfaceShortIterable
-
toSortedList
- Specified by:
toSortedListin interfaceShortIterable
-
toArray
public short[] toArray()- Specified by:
toArrayin interfaceShortIterable
-
toArray
public short[] toArray(short[] target) - Specified by:
toArrayin interfaceShortIterable
-
contains
public boolean contains(short value) - Specified by:
containsin interfaceShortIterable
-
containsAll
public boolean containsAll(short... source) - Specified by:
containsAllin interfaceShortIterable
-
containsAll
- Specified by:
containsAllin interfaceShortIterable
-
toList
- Specified by:
toListin interfaceShortIterable
-
toSet
- Specified by:
toSetin interfaceShortIterable
-
toBag
- Specified by:
toBagin interfaceShortIterable
-
asLazy
- Specified by:
asLazyin interfaceShortIterable
-
withKeyValue
- Specified by:
withKeyValuein interfaceMutableShortShortMap
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableShortShortMap
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableShortShortMap
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableShortShortMap
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableShortShortMap
-
toImmutable
- Specified by:
toImmutablein interfaceShortShortMap
-
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 interfaceShortShortMap
-
values
- Specified by:
valuesin interfaceShortValuesMap
-
equals
- Specified by:
equalsin interfaceShortShortMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceShortShortMap- Overrides:
hashCodein classObject
-
toString
- Specified by:
toStringin interfacePrimitiveIterable- Specified by:
toStringin interfaceShortShortMap- 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, ObjectShortToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceShortIterable
-
chunk
- Specified by:
chunkin interfaceShortIterable
-