Class UnmodifiableFloatLongMap
java.lang.Object
org.eclipse.collections.impl.map.mutable.primitive.UnmodifiableFloatLongMap
- All Implemented Interfaces:
Serializable,LongIterable,FloatLongMap,LongValuesMap,MutableFloatLongMap,MutableLongValuesMap,PrimitiveIterable
This file was automatically generated from template file unmodifiablePrimitivePrimitiveMap.stg.
- Since:
- 3.1.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionlongaddToValue(float key, long toBeAdded) booleanallSatisfy(LongPredicate predicate) booleananySatisfy(LongPredicate 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(LongToObjectFunction<? extends V> function) booleancontains(long value) booleancontainsAll(long... source) booleancontainsAll(LongIterable source) booleancontainsKey(float key) booleancontainsValue(long value) intcount(LongPredicate predicate) longdetectIfNone(LongPredicate predicate, long ifNone) voideach(LongProcedure procedure) booleanvoidforEachKey(FloatProcedure procedure) voidforEachKeyValue(FloatLongProcedure procedure) voidforEachValue(LongProcedure procedure) longget(float key) longgetAndPut(float key, long putValue, long defaultValue) longgetIfAbsent(float key, long ifAbsent) longgetIfAbsentPut(float key, long value) longgetIfAbsentPut(float key, LongFunction0 function) <P> longgetIfAbsentPutWith(float key, LongFunction<? super P> function, P parameter) longgetIfAbsentPutWithKey(float key, FloatToLongFunction function) longgetOrThrow(float key) inthashCode()<T> TinjectInto(T injectedValue, ObjectLongToObjectFunction<? super T, ? extends T> function) booleanisEmpty()keySet()keysView()makeString(String separator) makeString(String start, String separator, String end) longmax()longmaxIfEmpty(long defaultValue) doublemedian()longmin()longminIfEmpty(long defaultValue) booleannoneSatisfy(LongPredicate predicate) booleannotEmpty()voidput(float key, long value) voidputAll(FloatLongMap map) voidputPair(FloatLongPair keyValuePair) reject(FloatLongPredicate predicate) reject(LongPredicate predicate) voidremove(float key) voidremoveKey(float key) longremoveKeyIfAbsent(float key, long value) select(FloatLongPredicate predicate) select(LongPredicate predicate) intsize()longsum()long[]toArray()long[]toArray(long[] target) toBag()toList()toSet()long[]toString()longupdateValue(float key, long initialValueIfAbsent, LongToLongFunction function) voidupdateValues(FloatLongToLongFunction function) values()withKeyValue(float key, long value) withoutAllKeys(FloatIterable keys) withoutKey(float key) Methods inherited from interface org.eclipse.collections.api.map.primitive.FloatLongMap
allSatisfyKeyValue, injectIntoKeyValueMethods inherited from interface org.eclipse.collections.api.LongIterable
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.LongValuesMap
tapMethods inherited from interface org.eclipse.collections.api.map.primitive.MutableFloatLongMap
withAllKeyValues
-
Constructor Details
-
UnmodifiableFloatLongMap
-
-
Method Details
-
clear
public void clear()- Specified by:
clearin interfaceMutableLongValuesMap
-
put
public void put(float key, long value) - Specified by:
putin interfaceMutableFloatLongMap
-
putPair
- Specified by:
putPairin interfaceMutableFloatLongMap
-
putAll
- Specified by:
putAllin interfaceMutableFloatLongMap
-
updateValues
- Specified by:
updateValuesin interfaceMutableFloatLongMap
-
removeKey
public void removeKey(float key) - Specified by:
removeKeyin interfaceMutableFloatLongMap
-
remove
public void remove(float key) - Specified by:
removein interfaceMutableFloatLongMap
-
removeKeyIfAbsent
public long removeKeyIfAbsent(float key, long value) - Specified by:
removeKeyIfAbsentin interfaceMutableFloatLongMap
-
getIfAbsentPut
public long getIfAbsentPut(float key, long value) - Specified by:
getIfAbsentPutin interfaceMutableFloatLongMap
-
getAndPut
public long getAndPut(float key, long putValue, long defaultValue) - Specified by:
getAndPutin interfaceMutableFloatLongMap
-
getIfAbsentPut
- Specified by:
getIfAbsentPutin interfaceMutableFloatLongMap
-
getIfAbsentPutWithKey
- Specified by:
getIfAbsentPutWithKeyin interfaceMutableFloatLongMap
-
getIfAbsentPutWith
- Specified by:
getIfAbsentPutWithin interfaceMutableFloatLongMap
-
updateValue
- Specified by:
updateValuein interfaceMutableFloatLongMap
-
get
public long get(float key) - Specified by:
getin interfaceFloatLongMap
-
getIfAbsent
public long getIfAbsent(float key, long ifAbsent) - Specified by:
getIfAbsentin interfaceFloatLongMap
-
getOrThrow
public long getOrThrow(float key) - Specified by:
getOrThrowin interfaceFloatLongMap
-
containsKey
public boolean containsKey(float key) - Specified by:
containsKeyin interfaceFloatLongMap
-
containsValue
public boolean containsValue(long value) - Specified by:
containsValuein interfaceLongValuesMap
-
forEachValue
- Specified by:
forEachValuein interfaceLongValuesMap
-
forEachKey
- Specified by:
forEachKeyin interfaceFloatLongMap
-
forEachKeyValue
- Specified by:
forEachKeyValuein interfaceFloatLongMap
-
keysView
- Specified by:
keysViewin interfaceFloatLongMap
-
keyValuesView
- Specified by:
keyValuesViewin interfaceFloatLongMap
-
flipUniqueValues
- Specified by:
flipUniqueValuesin interfaceFloatLongMap- Specified by:
flipUniqueValuesin interfaceMutableFloatLongMap
-
select
- Specified by:
selectin interfaceFloatLongMap- Specified by:
selectin interfaceMutableFloatLongMap
-
reject
- Specified by:
rejectin interfaceFloatLongMap- Specified by:
rejectin interfaceMutableFloatLongMap
-
longIterator
- Specified by:
longIteratorin interfaceLongIterable- Specified by:
longIteratorin interfaceMutableLongValuesMap
-
each
- Specified by:
eachin interfaceLongIterable- Since:
- 7.0.
-
count
- Specified by:
countin interfaceLongIterable
-
anySatisfy
- Specified by:
anySatisfyin interfaceLongIterable
-
allSatisfy
- Specified by:
allSatisfyin interfaceLongIterable
-
noneSatisfy
- Specified by:
noneSatisfyin interfaceLongIterable
-
select
- Specified by:
selectin interfaceLongIterable- Specified by:
selectin interfaceLongValuesMap- Specified by:
selectin interfaceMutableLongValuesMap
-
reject
- Specified by:
rejectin interfaceLongIterable- Specified by:
rejectin interfaceLongValuesMap- Specified by:
rejectin interfaceMutableLongValuesMap
-
collect
- Specified by:
collectin interfaceLongIterable- Specified by:
collectin interfaceLongValuesMap- Specified by:
collectin interfaceMutableLongValuesMap
-
detectIfNone
- Specified by:
detectIfNonein interfaceLongIterable
-
sum
public long sum()- Specified by:
sumin interfaceLongIterable
-
max
public long max()- Specified by:
maxin interfaceLongIterable
-
maxIfEmpty
public long maxIfEmpty(long defaultValue) - Specified by:
maxIfEmptyin interfaceLongIterable
-
min
public long min()- Specified by:
minin interfaceLongIterable
-
minIfEmpty
public long minIfEmpty(long defaultValue) - Specified by:
minIfEmptyin interfaceLongIterable
-
average
public double average()- Specified by:
averagein interfaceLongIterable
-
median
public double median()- Specified by:
medianin interfaceLongIterable
-
addToValue
public long addToValue(float key, long toBeAdded) - Specified by:
addToValuein interfaceMutableFloatLongMap
-
toSortedArray
public long[] toSortedArray()- Specified by:
toSortedArrayin interfaceLongIterable
-
toSortedList
- Specified by:
toSortedListin interfaceLongIterable
-
toArray
public long[] toArray()- Specified by:
toArrayin interfaceLongIterable
-
toArray
public long[] toArray(long[] target) - Specified by:
toArrayin interfaceLongIterable
-
contains
public boolean contains(long value) - Specified by:
containsin interfaceLongIterable
-
containsAll
public boolean containsAll(long... source) - Specified by:
containsAllin interfaceLongIterable
-
containsAll
- Specified by:
containsAllin interfaceLongIterable
-
toList
- Specified by:
toListin interfaceLongIterable
-
toSet
- Specified by:
toSetin interfaceLongIterable
-
toBag
- Specified by:
toBagin interfaceLongIterable
-
asLazy
- Specified by:
asLazyin interfaceLongIterable
-
withKeyValue
- Specified by:
withKeyValuein interfaceMutableFloatLongMap
-
withoutKey
- Specified by:
withoutKeyin interfaceMutableFloatLongMap
-
withoutAllKeys
- Specified by:
withoutAllKeysin interfaceMutableFloatLongMap
-
asUnmodifiable
- Specified by:
asUnmodifiablein interfaceMutableFloatLongMap
-
asSynchronized
- Specified by:
asSynchronizedin interfaceMutableFloatLongMap
-
toImmutable
- Specified by:
toImmutablein interfaceFloatLongMap
-
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 interfaceFloatLongMap
-
values
- Specified by:
valuesin interfaceLongValuesMap
-
equals
- Specified by:
equalsin interfaceFloatLongMap- Overrides:
equalsin classObject
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceFloatLongMap- Overrides:
hashCodein classObject
-
toString
- Specified by:
toStringin interfaceFloatLongMap- 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, ObjectLongToObjectFunction<? super T, ? extends T> function) - Specified by:
injectIntoin interfaceLongIterable
-
chunk
- Specified by:
chunkin interfaceLongIterable
-