public class FloatDoubleHashMap extends AbstractMutableDoubleValuesMap implements MutableFloatDoubleMap, Externalizable, MutableFloatKeysMap
| Constructor and Description | 
|---|
| FloatDoubleHashMap() | 
| FloatDoubleHashMap(FloatDoubleMap map) | 
| FloatDoubleHashMap(int initialCapacity) | 
| Modifier and Type | Method and Description | 
|---|---|
| double | addToValue(float key,
          double toBeAdded) | 
| MutableFloatDoubleMap | asSynchronized() | 
| MutableFloatDoubleMap | asUnmodifiable() | 
| void | clear() | 
| void | compact()Rehashes every element in the set into a new backing table of the smallest possible size and eliminating removed sentinels. | 
| boolean | containsKey(float key) | 
| MutableDoubleIterator | doubleIterator() | 
| boolean | equals(Object obj)Follows the same general contract as  Map.equals(Object). | 
| void | forEachKey(FloatProcedure procedure) | 
| void | forEachKeyValue(FloatDoubleProcedure procedure) | 
| double | get(float key) | 
| double | getIfAbsent(float key,
           double ifAbsent) | 
| double | getIfAbsentPut(float key,
              double value) | 
| double | getIfAbsentPut(float key,
              DoubleFunction0 function) | 
| <P> double | getIfAbsentPutWith(float key,
                  DoubleFunction<? super P> function,
                  P parameter) | 
| double | getIfAbsentPutWithKey(float key,
                     FloatToDoubleFunction function) | 
| double | getOrThrow(float key) | 
| int | hashCode()Follows the same general contract as  Map.hashCode(). | 
| <V> V | injectInto(V injectedValue,
          ObjectDoubleToObjectFunction<? super V,? extends V> function) | 
| MutableFloatSet | keySet() | 
| LazyFloatIterable | keysView() | 
| RichIterable<FloatDoublePair> | keyValuesView() | 
| static FloatDoubleHashMap | newWithKeysValues(float key1,
                 double value1) | 
| static FloatDoubleHashMap | newWithKeysValues(float key1,
                 double value1,
                 float key2,
                 double value2) | 
| static FloatDoubleHashMap | newWithKeysValues(float key1,
                 double value1,
                 float key2,
                 double value2,
                 float key3,
                 double value3) | 
| static FloatDoubleHashMap | newWithKeysValues(float key1,
                 double value1,
                 float key2,
                 double value2,
                 float key3,
                 double value3,
                 float key4,
                 double value4) | 
| void | put(float key,
   double value) | 
| void | putAll(FloatDoubleMap map) | 
| void | readExternal(ObjectInput in) | 
| FloatDoubleHashMap | reject(FloatDoublePredicate predicate) | 
| void | remove(float key) | 
| void | removeKey(float key) | 
| double | removeKeyIfAbsent(float key,
                 double value) | 
| FloatDoubleHashMap | select(FloatDoublePredicate predicate) | 
| ImmutableFloatDoubleMap | toImmutable() | 
| String | toString()Returns a string representation of this PrimitiveIterable. | 
| double | updateValue(float key,
           double initialValueIfAbsent,
           DoubleToDoubleFunction function) | 
| MutableDoubleCollection | values() | 
| FloatDoubleHashMap | withKeysValues(float key1,
              double value1,
              float key2,
              double value2) | 
| FloatDoubleHashMap | withKeysValues(float key1,
              double value1,
              float key2,
              double value2,
              float key3,
              double value3) | 
| FloatDoubleHashMap | withKeysValues(float key1,
              double value1,
              float key2,
              double value2,
              float key3,
              double value3,
              float key4,
              double value4) | 
| FloatDoubleHashMap | withKeyValue(float key1,
            double value1) | 
| FloatDoubleHashMap | withoutAllKeys(FloatIterable keys) | 
| FloatDoubleHashMap | withoutKey(float key) | 
| void | writeExternal(ObjectOutput out) | 
allSatisfy, anySatisfy, appendString, collect, contains, containsAll, containsValue, count, detectIfNone, each, forEach, forEachValue, isEmpty, max, min, noneSatisfy, notEmpty, reject, select, size, sum, toArrayappendString, appendString, asLazy, average, containsAll, makeString, makeString, makeString, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedListcollect, reject, selectcontainsValue, forEachValueallSatisfy, anySatisfy, asLazy, average, contains, containsAll, containsAll, count, detectIfNone, each, forEach, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, sum, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeisEmpty, notEmpty, sizepublic FloatDoubleHashMap()
public FloatDoubleHashMap(int initialCapacity)
public FloatDoubleHashMap(FloatDoubleMap map)
public static FloatDoubleHashMap newWithKeysValues(float key1, double value1)
public static FloatDoubleHashMap newWithKeysValues(float key1, double value1, float key2, double value2)
public static FloatDoubleHashMap newWithKeysValues(float key1, double value1, float key2, double value2, float key3, double value3)
public static FloatDoubleHashMap newWithKeysValues(float key1, double value1, float key2, double value2, float key3, double value3, float key4, double value4)
public boolean equals(Object obj)
FloatDoubleMapMap.equals(Object).equals in interface FloatDoubleMapequals in class Objectpublic int hashCode()
FloatDoubleMapMap.hashCode().hashCode in interface FloatDoubleMaphashCode in class Objectpublic String toString()
PrimitiveIterabletoString in interface FloatDoubleMaptoString in interface PrimitiveIterabletoString in class AbstractDoubleIterablepublic MutableDoubleIterator doubleIterator()
doubleIterator in interface DoubleIterabledoubleIterator in interface MutableDoubleValuesMappublic <V> V injectInto(V injectedValue,
                        ObjectDoubleToObjectFunction<? super V,? extends V> function)
injectInto in interface DoubleIterablepublic void clear()
clear in interface MutableDoubleValuesMapclear in interface MutableFloatKeysMappublic void put(float key,
                double value)
put in interface MutableFloatDoubleMappublic void putAll(FloatDoubleMap map)
putAll in interface MutableFloatDoubleMappublic void removeKey(float key)
removeKey in interface MutableFloatDoubleMapremoveKey in interface MutableFloatKeysMappublic void remove(float key)
remove in interface MutableFloatDoubleMappublic double removeKeyIfAbsent(float key,
                                double value)
removeKeyIfAbsent in interface MutableFloatDoubleMappublic double getIfAbsentPut(float key,
                             double value)
getIfAbsentPut in interface MutableFloatDoubleMappublic double getIfAbsentPut(float key,
                             DoubleFunction0 function)
getIfAbsentPut in interface MutableFloatDoubleMappublic <P> double getIfAbsentPutWith(float key,
                                     DoubleFunction<? super P> function,
                                     P parameter)
getIfAbsentPutWith in interface MutableFloatDoubleMappublic double getIfAbsentPutWithKey(float key,
                                    FloatToDoubleFunction function)
getIfAbsentPutWithKey in interface MutableFloatDoubleMappublic double addToValue(float key,
                         double toBeAdded)
addToValue in interface MutableFloatDoubleMappublic double updateValue(float key,
                          double initialValueIfAbsent,
                          DoubleToDoubleFunction function)
updateValue in interface MutableFloatDoubleMappublic FloatDoubleHashMap withKeyValue(float key1, double value1)
withKeyValue in interface MutableFloatDoubleMappublic FloatDoubleHashMap withKeysValues(float key1, double value1, float key2, double value2)
public FloatDoubleHashMap withKeysValues(float key1, double value1, float key2, double value2, float key3, double value3)
public FloatDoubleHashMap withKeysValues(float key1, double value1, float key2, double value2, float key3, double value3, float key4, double value4)
public FloatDoubleHashMap withoutKey(float key)
withoutKey in interface MutableFloatDoubleMappublic FloatDoubleHashMap withoutAllKeys(FloatIterable keys)
withoutAllKeys in interface MutableFloatDoubleMappublic MutableFloatDoubleMap asUnmodifiable()
asUnmodifiable in interface MutableFloatDoubleMappublic MutableFloatDoubleMap asSynchronized()
asSynchronized in interface MutableFloatDoubleMappublic ImmutableFloatDoubleMap toImmutable()
toImmutable in interface FloatDoubleMappublic double get(float key)
get in interface FloatDoubleMappublic double getIfAbsent(float key,
                          double ifAbsent)
getIfAbsent in interface FloatDoubleMappublic double getOrThrow(float key)
getOrThrow in interface FloatDoubleMappublic boolean containsKey(float key)
containsKey in interface FloatDoubleMapcontainsKey in interface FloatKeysMappublic void forEachKey(FloatProcedure procedure)
forEachKey in interface FloatDoubleMapforEachKey in interface FloatKeysMappublic void forEachKeyValue(FloatDoubleProcedure procedure)
forEachKeyValue in interface FloatDoubleMappublic LazyFloatIterable keysView()
keysView in interface FloatDoubleMappublic RichIterable<FloatDoublePair> keyValuesView()
keyValuesView in interface FloatDoubleMappublic FloatDoubleHashMap select(FloatDoublePredicate predicate)
select in interface FloatDoubleMapselect in interface MutableFloatDoubleMappublic FloatDoubleHashMap reject(FloatDoublePredicate predicate)
reject in interface FloatDoubleMapreject in interface MutableFloatDoubleMappublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void compact()
public MutableFloatSet keySet()
keySet in interface FloatDoubleMappublic MutableDoubleCollection values()
values in interface DoubleValuesMapCopyright © 2004–2016. All rights reserved.