Class UnmodifiableDoubleShortMap
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableDoubleShortMap
- All Implemented Interfaces:
Serializable,DoubleShortMap,MutableDoubleShortMap,MutableShortValuesMap,ShortValuesMap,PrimitiveIterable,ShortIterable
public class UnmodifiableDoubleShortMap
extends Object
implements MutableDoubleShortMap, Serializable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionshortaddToValue(double 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(double key) booleancontainsValue(short value) intcount(ShortPredicate predicate) shortdetectIfNone(ShortPredicate predicate, short ifNone) voideach(ShortProcedure procedure) booleanvoidforEachKey(DoubleProcedure procedure) voidforEachKeyValue(DoubleShortProcedure procedure) voidforEachValue(ShortProcedure procedure) shortget(double key) shortgetAndPut(double key, short putValue, short defaultValue) shortgetIfAbsent(double key, short ifAbsent) shortgetIfAbsentPut(double key, short value) shortgetIfAbsentPut(double key, ShortFunction0 function) <P> shortgetIfAbsentPutWith(double key, ShortFunction<? super P> function, P parameter) shortgetIfAbsentPutWithKey(double key, DoubleToShortFunction function) shortgetOrThrow(double 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(double key, short value) voidputAll(DoubleShortMap map) voidputPair(DoubleShortPair keyValuePair) reject(DoubleShortPredicate predicate) reject(ShortPredicate predicate) voidremove(double key) voidremoveKey(double key) shortremoveKeyIfAbsent(double key, short value) select(DoubleShortPredicate predicate) select(ShortPredicate predicate) intsize()longsum()short[]toArray()short[]toArray(short[] target) toBag()toList()toSet()short[]toString()shortupdateValue(double key, short initialValueIfAbsent, ShortToShortFunction function) voidupdateValues(DoubleShortToShortFunction function) values()withKeyValue(double key, short value) withoutAllKeys(DoubleIterable keys) withoutKey(double key) Methods inherited from interface org.eclipse.collections.api.map.primitive.DoubleShortMap
allSatisfyKeyValue, injectIntoKeyValueMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableDoubleShortMap
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.ShortValuesMap
tap
-
Constructor Details
-
UnmodifiableDoubleShortMap
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceMutableShortValuesMap
-
put
public void put(double key, short value) - Specified by:
putin interfaceMutableDoubleShortMap
-
putPair
- Specified by:
putPairin interfaceMutableDoubleShortMap
-
putAll
- Specified by:
putAllin interfaceMutableDoubleShortMap
-
updateValues
- Specified by:
updateValuesin interfaceMutableDoubleShortMap
-
removeKey
public void removeKey(double key) - Specified by:
removeKeyin interfaceMutableDoubleShortMap
-
remove
public void remove(double key) - Specified by:
removein interfaceMutableDoubleShortMap
-
removeKeyIfAbsent
public short removeKeyIfAbsent(double key, short value) - Specified by:
removeKeyIfAbsentin interfaceMutableDoubleShortMap
-
getIfAbsentPut
public short getIfAbsentPut(double key, short value) - Specified by:
getIfAbsentPutin interfaceMutableDoubleShortMap
-
getAndPut
public short getAndPut(double key, short putValue, short defaultValue) - Specified by:
getAndPutin interfaceMutableDoubleShortMap
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableDoubleShortMap
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableDoubleShortMap
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableDoubleShortMap
-
updateValue
- Specified by:
updateValuein interfaceMutableDoubleShortMap
-
get
public short get(double key) - Specified by:
getin interfaceDoubleShortMap
-
getIfAbsent
public short getIfAbsent(double key, short ifAbsent) - Specified by:
getIfAbsentin interfaceDoubleShortMap
-
getOrThrow
public short getOrThrow(double key) - Specified by:
getOrThrowin interfaceDoubleShortMap
-
containsKey
public boolean containsKey(double key) - Specified by:
containsKeyin interfaceDoubleShortMap
-
containsValue
public boolean containsValue(short value) - Specified by:
containsValuein interfaceShortValuesMap
-
forEachValue
- Specified by:
forEachValuein interfaceShortValuesMap
-
forEachKey
- Specified by:
forEachKeyin interfaceDoubleShortMap
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceDoubleShortMap
-
keysView
- Specified by:
keysViewin interfaceDoubleShortMap
-
keyValuesView
- Specified by:
keyValuesViewin interfaceDoubleShortMap
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceDoubleShortMap- Specified by:
flipUniqueValuesin interfaceMutableDoubleShortMap
-
select
- Specified by:
selectin interfaceDoubleShortMap- Specified by:
selectin interfaceMutableDoubleShortMap
-
reject
- Specified by:
rejectin interfaceDoubleShortMap- Specified by:
rejectin interfaceMutableDoubleShortMap
-
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(double key, short toBeAdded) - Specified by:
addToValuein interfaceMutableDoubleShortMap
-
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 interfaceMutableDoubleShortMap
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableDoubleShortMap
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableDoubleShortMap
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableDoubleShortMap
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableDoubleShortMap
-
toImmutable
- Specified by:
toImmutablein interfaceDoubleShortMap
-
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 interfaceDoubleShortMap
-
values
- Specified by:
valuesin interfaceShortValuesMap
-
equals
- Specified by:
equalsin interfaceDoubleShortMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceDoubleShortMap- Overrides:
hashCodein classObject
-
toString
- Specified by:
toStringin interfaceDoubleShortMap- 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, ObjectShortToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceShortIterable
-
chunk
- Specified by:
chunkin interfaceShortIterable
-