public class UnmodifiableFloatLongMap extends Object implements MutableFloatLongMap, Serializable
| Constructor and Description |
|---|
UnmodifiableFloatLongMap(MutableFloatLongMap map) |
withAllKeyValuesinjectIntoKeyValuetapaverageIfEmpty, 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, toSortedListBypublic UnmodifiableFloatLongMap(MutableFloatLongMap map)
public void clear()
clear in interface MutableLongValuesMappublic void put(float key,
long value)
put in interface MutableFloatLongMappublic void putPair(FloatLongPair keyValuePair)
putPair in interface MutableFloatLongMappublic void putAll(FloatLongMap map)
putAll in interface MutableFloatLongMappublic void updateValues(FloatLongToLongFunction function)
updateValues in interface MutableFloatLongMappublic void removeKey(float key)
removeKey in interface MutableFloatLongMappublic void remove(float key)
remove in interface MutableFloatLongMappublic long removeKeyIfAbsent(float key,
long value)
removeKeyIfAbsent in interface MutableFloatLongMappublic long getIfAbsentPut(float key,
long value)
getIfAbsentPut in interface MutableFloatLongMappublic long getAndPut(float key,
long putValue,
long defaultValue)
getAndPut in interface MutableFloatLongMappublic long getIfAbsentPut(float key,
LongFunction0 function)
getIfAbsentPut in interface MutableFloatLongMappublic long getIfAbsentPutWithKey(float key,
FloatToLongFunction function)
getIfAbsentPutWithKey in interface MutableFloatLongMappublic <P> long getIfAbsentPutWith(float key,
LongFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface MutableFloatLongMappublic long updateValue(float key,
long initialValueIfAbsent,
LongToLongFunction function)
updateValue in interface MutableFloatLongMappublic long get(float key)
get in interface FloatLongMappublic long getIfAbsent(float key,
long ifAbsent)
getIfAbsent in interface FloatLongMappublic long getOrThrow(float key)
getOrThrow in interface FloatLongMappublic boolean containsKey(float key)
containsKey in interface FloatLongMappublic boolean containsValue(long value)
containsValue in interface LongValuesMappublic void forEachValue(LongProcedure procedure)
forEachValue in interface LongValuesMappublic void forEachKey(FloatProcedure procedure)
forEachKey in interface FloatLongMappublic void forEachKeyValue(FloatLongProcedure procedure)
forEachKeyValue in interface FloatLongMappublic LazyFloatIterable keysView()
keysView in interface FloatLongMappublic RichIterable<FloatLongPair> keyValuesView()
keyValuesView in interface FloatLongMappublic MutableLongFloatMap flipUniqueValues()
flipUniqueValues in interface FloatLongMapflipUniqueValues in interface MutableFloatLongMappublic MutableFloatLongMap select(FloatLongPredicate predicate)
select in interface FloatLongMapselect in interface MutableFloatLongMappublic MutableFloatLongMap reject(FloatLongPredicate predicate)
reject in interface FloatLongMapreject in interface MutableFloatLongMappublic MutableLongIterator longIterator()
longIterator in interface LongIterablelongIterator in interface MutableLongValuesMappublic void each(LongProcedure procedure)
each in interface LongIterablepublic int count(LongPredicate predicate)
count in interface LongIterablepublic boolean anySatisfy(LongPredicate predicate)
anySatisfy in interface LongIterablepublic boolean allSatisfy(LongPredicate predicate)
allSatisfy in interface LongIterablepublic boolean noneSatisfy(LongPredicate predicate)
noneSatisfy in interface LongIterablepublic MutableLongBag select(LongPredicate predicate)
select in interface LongIterableselect in interface LongValuesMapselect in interface MutableLongValuesMappublic MutableLongBag reject(LongPredicate predicate)
reject in interface LongIterablereject in interface LongValuesMapreject in interface MutableLongValuesMappublic <V> MutableBag<V> collect(LongToObjectFunction<? extends V> function)
collect in interface LongIterablecollect in interface LongValuesMapcollect in interface MutableLongValuesMappublic long detectIfNone(LongPredicate predicate, long ifNone)
detectIfNone in interface LongIterablepublic long sum()
sum in interface LongIterablepublic long max()
max in interface LongIterablepublic long maxIfEmpty(long defaultValue)
maxIfEmpty in interface LongIterablepublic long min()
min in interface LongIterablepublic long minIfEmpty(long defaultValue)
minIfEmpty in interface LongIterablepublic double average()
average in interface LongIterablepublic double median()
median in interface LongIterablepublic long addToValue(float key,
long toBeAdded)
addToValue in interface MutableFloatLongMappublic long[] toSortedArray()
toSortedArray in interface LongIterablepublic MutableLongList toSortedList()
toSortedList in interface LongIterablepublic long[] toArray()
toArray in interface LongIterablepublic long[] toArray(long[] target)
toArray in interface LongIterablepublic boolean contains(long value)
contains in interface LongIterablepublic boolean containsAll(long... source)
containsAll in interface LongIterablepublic boolean containsAll(LongIterable source)
containsAll in interface LongIterablepublic MutableLongList toList()
toList in interface LongIterablepublic MutableLongSet toSet()
toSet in interface LongIterablepublic MutableLongBag toBag()
toBag in interface LongIterablepublic LazyLongIterable asLazy()
asLazy in interface LongIterablepublic MutableFloatLongMap withKeyValue(float key, long value)
withKeyValue in interface MutableFloatLongMappublic MutableFloatLongMap withoutKey(float key)
withoutKey in interface MutableFloatLongMappublic MutableFloatLongMap withoutAllKeys(FloatIterable keys)
withoutAllKeys in interface MutableFloatLongMappublic MutableFloatLongMap asUnmodifiable()
asUnmodifiable in interface MutableFloatLongMappublic MutableFloatLongMap asSynchronized()
asSynchronized in interface MutableFloatLongMappublic ImmutableFloatLongMap toImmutable()
toImmutable in interface FloatLongMappublic int size()
size in interface PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablepublic MutableFloatSet keySet()
keySet in interface FloatLongMappublic MutableLongCollection values()
values in interface LongValuesMappublic boolean equals(Object otherMap)
equals in interface FloatLongMapequals in class Objectpublic int hashCode()
hashCode in interface FloatLongMaphashCode in class Objectpublic String toString()
toString in interface FloatLongMaptoString in interface PrimitiveIterabletoString in class Objectpublic String makeString()
makeString in interface PrimitiveIterablepublic String makeString(String separator)
makeString in interface PrimitiveIterablepublic String makeString(String start, String separator, String end)
makeString in interface PrimitiveIterablepublic void appendString(Appendable appendable)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String separator)
appendString in interface PrimitiveIterablepublic void appendString(Appendable appendable, String start, String separator, String end)
appendString in interface PrimitiveIterablepublic <T> T injectInto(T injectedValue,
ObjectLongToObjectFunction<? super T,? extends T> function)
injectInto in interface LongIterablepublic RichIterable<LongIterable> chunk(int size)
chunk in interface LongIterableCopyright © 2004–2022. All rights reserved.