public class UnmodifiableDoubleIntMap extends Object implements MutableDoubleIntMap, Serializable
| Constructor and Description |
|---|
UnmodifiableDoubleIntMap(MutableDoubleIntMap 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 UnmodifiableDoubleIntMap(MutableDoubleIntMap map)
public void clear()
clear in interface MutableIntValuesMappublic void put(double key,
int value)
put in interface MutableDoubleIntMappublic void putPair(DoubleIntPair keyValuePair)
putPair in interface MutableDoubleIntMappublic void putAll(DoubleIntMap map)
putAll in interface MutableDoubleIntMappublic void updateValues(DoubleIntToIntFunction function)
updateValues in interface MutableDoubleIntMappublic void removeKey(double key)
removeKey in interface MutableDoubleIntMappublic void remove(double key)
remove in interface MutableDoubleIntMappublic int removeKeyIfAbsent(double key,
int value)
removeKeyIfAbsent in interface MutableDoubleIntMappublic int getIfAbsentPut(double key,
int value)
getIfAbsentPut in interface MutableDoubleIntMappublic int getAndPut(double key,
int putValue,
int defaultValue)
getAndPut in interface MutableDoubleIntMappublic int getIfAbsentPut(double key,
IntFunction0 function)
getIfAbsentPut in interface MutableDoubleIntMappublic int getIfAbsentPutWithKey(double key,
DoubleToIntFunction function)
getIfAbsentPutWithKey in interface MutableDoubleIntMappublic <P> int getIfAbsentPutWith(double key,
IntFunction<? super P> function,
P parameter)
getIfAbsentPutWith in interface MutableDoubleIntMappublic int updateValue(double key,
int initialValueIfAbsent,
IntToIntFunction function)
updateValue in interface MutableDoubleIntMappublic int get(double key)
get in interface DoubleIntMappublic int getIfAbsent(double key,
int ifAbsent)
getIfAbsent in interface DoubleIntMappublic int getOrThrow(double key)
getOrThrow in interface DoubleIntMappublic boolean containsKey(double key)
containsKey in interface DoubleIntMappublic boolean containsValue(int value)
containsValue in interface IntValuesMappublic void forEachValue(IntProcedure procedure)
forEachValue in interface IntValuesMappublic void forEachKey(DoubleProcedure procedure)
forEachKey in interface DoubleIntMappublic void forEachKeyValue(DoubleIntProcedure procedure)
forEachKeyValue in interface DoubleIntMappublic LazyDoubleIterable keysView()
keysView in interface DoubleIntMappublic RichIterable<DoubleIntPair> keyValuesView()
keyValuesView in interface DoubleIntMappublic MutableIntDoubleMap flipUniqueValues()
flipUniqueValues in interface DoubleIntMapflipUniqueValues in interface MutableDoubleIntMappublic MutableDoubleIntMap select(DoubleIntPredicate predicate)
select in interface DoubleIntMapselect in interface MutableDoubleIntMappublic MutableDoubleIntMap reject(DoubleIntPredicate predicate)
reject in interface DoubleIntMapreject in interface MutableDoubleIntMappublic MutableIntIterator intIterator()
intIterator in interface IntIterableintIterator in interface MutableIntValuesMappublic void each(IntProcedure procedure)
each in interface IntIterablepublic int count(IntPredicate predicate)
count in interface IntIterablepublic boolean anySatisfy(IntPredicate predicate)
anySatisfy in interface IntIterablepublic boolean allSatisfy(IntPredicate predicate)
allSatisfy in interface IntIterablepublic boolean noneSatisfy(IntPredicate predicate)
noneSatisfy in interface IntIterablepublic MutableIntBag select(IntPredicate predicate)
select in interface IntIterableselect in interface IntValuesMapselect in interface MutableIntValuesMappublic MutableIntBag reject(IntPredicate predicate)
reject in interface IntIterablereject in interface IntValuesMapreject in interface MutableIntValuesMappublic <V> MutableBag<V> collect(IntToObjectFunction<? extends V> function)
collect in interface IntIterablecollect in interface IntValuesMapcollect in interface MutableIntValuesMappublic int detectIfNone(IntPredicate predicate, int ifNone)
detectIfNone in interface IntIterablepublic long sum()
sum in interface IntIterablepublic int max()
max in interface IntIterablepublic int maxIfEmpty(int defaultValue)
maxIfEmpty in interface IntIterablepublic int min()
min in interface IntIterablepublic int minIfEmpty(int defaultValue)
minIfEmpty in interface IntIterablepublic double average()
average in interface IntIterablepublic double median()
median in interface IntIterablepublic int addToValue(double key,
int toBeAdded)
addToValue in interface MutableDoubleIntMappublic int[] toSortedArray()
toSortedArray in interface IntIterablepublic MutableIntList toSortedList()
toSortedList in interface IntIterablepublic int[] toArray()
toArray in interface IntIterablepublic int[] toArray(int[] target)
toArray in interface IntIterablepublic boolean contains(int value)
contains in interface IntIterablepublic boolean containsAll(int... source)
containsAll in interface IntIterablepublic boolean containsAll(IntIterable source)
containsAll in interface IntIterablepublic MutableIntList toList()
toList in interface IntIterablepublic MutableIntSet toSet()
toSet in interface IntIterablepublic MutableIntBag toBag()
toBag in interface IntIterablepublic LazyIntIterable asLazy()
asLazy in interface IntIterablepublic MutableDoubleIntMap withKeyValue(double key, int value)
withKeyValue in interface MutableDoubleIntMappublic MutableDoubleIntMap withoutKey(double key)
withoutKey in interface MutableDoubleIntMappublic MutableDoubleIntMap withoutAllKeys(DoubleIterable keys)
withoutAllKeys in interface MutableDoubleIntMappublic MutableDoubleIntMap asUnmodifiable()
asUnmodifiable in interface MutableDoubleIntMappublic MutableDoubleIntMap asSynchronized()
asSynchronized in interface MutableDoubleIntMappublic ImmutableDoubleIntMap toImmutable()
toImmutable in interface DoubleIntMappublic int size()
size in interface PrimitiveIterablepublic boolean isEmpty()
isEmpty in interface PrimitiveIterablepublic boolean notEmpty()
notEmpty in interface PrimitiveIterablepublic MutableDoubleSet keySet()
keySet in interface DoubleIntMappublic MutableIntCollection values()
values in interface IntValuesMappublic boolean equals(Object otherMap)
equals in interface DoubleIntMapequals in class Objectpublic int hashCode()
hashCode in interface DoubleIntMaphashCode in class Objectpublic String toString()
toString in interface DoubleIntMaptoString 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,
ObjectIntToObjectFunction<? super T,? extends T> function)
injectInto in interface IntIterablepublic RichIterable<IntIterable> chunk(int size)
chunk in interface IntIterableCopyright © 2004–2022. All rights reserved.