Externalizable, Serializable, CharIterable, CharValuesMap, FloatCharMap, MutableCharValuesMap, MutableFloatCharMap, PrimitiveIterable, MutableFloatKeysMap, FloatKeysMappublic class FloatCharHashMap extends AbstractMutableCharValuesMap implements MutableFloatCharMap, Externalizable, MutableFloatKeysMap
| Constructor | Description | 
|---|---|
| FloatCharHashMap() | |
| FloatCharHashMap(int initialCapacity) | |
| FloatCharHashMap(FloatCharMap map) | 
| Modifier and Type | Method | Description | 
|---|---|---|
| char | addToValue(float key,
          char toBeAdded) | |
| MutableFloatCharMap | asSynchronized() | |
| MutableFloatCharMap | asUnmodifiable() | |
| MutableCharIterator | charIterator() | Returns a primitive iterator that can be used to iterate over the CharIterable in an
 imperative style. | 
| 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) | |
| boolean | equals(Object obj) | Follows the same general contract as  Map.equals(Object). | 
| void | forEachKey(FloatProcedure procedure) | |
| void | forEachKeyValue(FloatCharProcedure procedure) | |
| char | get(float key) | |
| char | getIfAbsent(float key,
           char ifAbsent) | |
| char | getIfAbsentPut(float key,
              char value) | |
| char | getIfAbsentPut(float key,
              CharFunction0 function) | |
| <P> char | getIfAbsentPutWith(float key,
                  CharFunction<? super P> function,
                  P parameter) | |
| char | getIfAbsentPutWithKey(float key,
                     FloatToCharFunction function) | |
| char | getOrThrow(float key) | |
| int | hashCode() | Follows the same general contract as  Map.hashCode(). | 
| <V> V | injectInto(V injectedValue,
          ObjectCharToObjectFunction<? super V,? extends V> function) | |
| MutableFloatSet | keySet() | |
| LazyFloatIterable | keysView() | |
| RichIterable<FloatCharPair> | keyValuesView() | |
| static FloatCharHashMap | newWithKeysValues(float key1,
                 char value1) | |
| static FloatCharHashMap | newWithKeysValues(float key1,
                 char value1,
                 float key2,
                 char value2) | |
| static FloatCharHashMap | newWithKeysValues(float key1,
                 char value1,
                 float key2,
                 char value2,
                 float key3,
                 char value3) | |
| static FloatCharHashMap | newWithKeysValues(float key1,
                 char value1,
                 float key2,
                 char value2,
                 float key3,
                 char value3,
                 float key4,
                 char value4) | |
| void | put(float key,
   char value) | |
| void | putAll(FloatCharMap map) | |
| void | readExternal(ObjectInput in) | |
| FloatCharHashMap | reject(FloatCharPredicate predicate) | |
| void | remove(float key) | |
| void | removeKey(float key) | |
| char | removeKeyIfAbsent(float key,
                 char value) | |
| FloatCharHashMap | select(FloatCharPredicate predicate) | |
| ImmutableFloatCharMap | toImmutable() | |
| String | toString() | Returns a string with the elements of this iterable separated by commas with spaces and
 enclosed in square brackets. | 
| char | updateValue(float key,
           char initialValueIfAbsent,
           CharToCharFunction function) | |
| MutableCharCollection | values() | |
| FloatCharHashMap | withKeysValues(float key1,
              char value1,
              float key2,
              char value2) | |
| FloatCharHashMap | withKeysValues(float key1,
              char value1,
              float key2,
              char value2,
              float key3,
              char value3) | |
| FloatCharHashMap | withKeysValues(float key1,
              char value1,
              float key2,
              char value2,
              float key3,
              char value3,
              float key4,
              char value4) | |
| FloatCharHashMap | withKeyValue(float key1,
            char value1) | |
| FloatCharHashMap | withoutAllKeys(FloatIterable keys) | |
| FloatCharHashMap | withoutKey(float key) | |
| void | writeExternal(ObjectOutput out) | 
asLazy, average, containsAll, maxIfEmpty, median, minIfEmpty, toBag, toList, toSet, toSortedArray, toSortedListallSatisfy, anySatisfy, appendString, collect, contains, containsAll, containsValue, count, detectIfNone, each, forEach, forEachValue, isEmpty, max, min, noneSatisfy, notEmpty, reject, select, size, sum, toArrayallSatisfy, anySatisfy, asLazy, average, collect, collectBoolean, collectByte, collectChar, collectDouble, collectFloat, collectInt, collectLong, collectShort, contains, containsAll, containsAll, count, detectIfNone, each, flatCollect, forEach, max, maxIfEmpty, median, min, minIfEmpty, noneSatisfy, reject, select, sum, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListcontainsValue, forEachValueisEmpty, notEmpty, sizecollect, reject, selectappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizepublic FloatCharHashMap()
public FloatCharHashMap(int initialCapacity)
public FloatCharHashMap(FloatCharMap map)
public static FloatCharHashMap newWithKeysValues(float key1, char value1)
public static FloatCharHashMap newWithKeysValues(float key1, char value1, float key2, char value2)
public static FloatCharHashMap newWithKeysValues(float key1, char value1, float key2, char value2, float key3, char value3)
public static FloatCharHashMap newWithKeysValues(float key1, char value1, float key2, char value2, float key3, char value3, float key4, char value4)
public boolean equals(Object obj)
FloatCharMapMap.equals(Object).equals in interface FloatCharMapequals in class Objectpublic int hashCode()
FloatCharMapMap.hashCode().hashCode in interface FloatCharMaphashCode in class Objectpublic String toString()
PrimitiveIterable
 Assert.assertEquals("[]", IntLists.mutable.empty().toString());
 Assert.assertEquals("[1]", IntLists.mutable.with(1).toString());
 Assert.assertEquals("[1, 2, 3]", IntLists.mutable.with(1, 2, 3).toString());
 toString in interface FloatCharMaptoString in interface PrimitiveIterabletoString in class AbstractCharIterableAbstractCollection.toString()public MutableCharIterator charIterator()
CharIterablecharIterator in interface CharIterablecharIterator in interface MutableCharValuesMappublic <V> V injectInto(V injectedValue,
                        ObjectCharToObjectFunction<? super V,? extends V> function)
injectInto in interface CharIterablepublic void clear()
clear in interface MutableCharValuesMapclear in interface MutableFloatKeysMappublic void put(float key,
                char value)
put in interface MutableFloatCharMappublic void putAll(FloatCharMap map)
putAll in interface MutableFloatCharMappublic void removeKey(float key)
removeKey in interface MutableFloatCharMapremoveKey in interface MutableFloatKeysMappublic void remove(float key)
remove in interface MutableFloatCharMappublic char removeKeyIfAbsent(float key,
                              char value)
removeKeyIfAbsent in interface MutableFloatCharMappublic char getIfAbsentPut(float key,
                           char value)
getIfAbsentPut in interface MutableFloatCharMappublic char getIfAbsentPut(float key,
                           CharFunction0 function)
getIfAbsentPut in interface MutableFloatCharMappublic <P> char getIfAbsentPutWith(float key,
                                   CharFunction<? super P> function,
                                   P parameter)
getIfAbsentPutWith in interface MutableFloatCharMappublic char getIfAbsentPutWithKey(float key,
                                  FloatToCharFunction function)
getIfAbsentPutWithKey in interface MutableFloatCharMappublic char addToValue(float key,
                       char toBeAdded)
addToValue in interface MutableFloatCharMappublic char updateValue(float key,
                        char initialValueIfAbsent,
                        CharToCharFunction function)
updateValue in interface MutableFloatCharMappublic FloatCharHashMap withKeyValue(float key1, char value1)
withKeyValue in interface MutableFloatCharMappublic FloatCharHashMap withKeysValues(float key1, char value1, float key2, char value2)
public FloatCharHashMap withKeysValues(float key1, char value1, float key2, char value2, float key3, char value3)
public FloatCharHashMap withKeysValues(float key1, char value1, float key2, char value2, float key3, char value3, float key4, char value4)
public FloatCharHashMap withoutKey(float key)
withoutKey in interface MutableFloatCharMappublic FloatCharHashMap withoutAllKeys(FloatIterable keys)
withoutAllKeys in interface MutableFloatCharMappublic MutableFloatCharMap asUnmodifiable()
asUnmodifiable in interface MutableFloatCharMappublic MutableFloatCharMap asSynchronized()
asSynchronized in interface MutableFloatCharMappublic ImmutableFloatCharMap toImmutable()
toImmutable in interface FloatCharMappublic char get(float key)
get in interface FloatCharMappublic char getIfAbsent(float key,
                        char ifAbsent)
getIfAbsent in interface FloatCharMappublic char getOrThrow(float key)
getOrThrow in interface FloatCharMappublic boolean containsKey(float key)
containsKey in interface FloatCharMapcontainsKey in interface FloatKeysMappublic void forEachKey(FloatProcedure procedure)
forEachKey in interface FloatCharMapforEachKey in interface FloatKeysMappublic void forEachKeyValue(FloatCharProcedure procedure)
forEachKeyValue in interface FloatCharMappublic LazyFloatIterable keysView()
keysView in interface FloatCharMappublic RichIterable<FloatCharPair> keyValuesView()
keyValuesView in interface FloatCharMappublic FloatCharHashMap select(FloatCharPredicate predicate)
select in interface FloatCharMapselect in interface MutableFloatCharMappublic FloatCharHashMap reject(FloatCharPredicate predicate)
reject in interface FloatCharMapreject in interface MutableFloatCharMappublic 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 FloatCharMappublic MutableCharCollection values()
values in interface CharValuesMapCopyright © 2004–2017. All rights reserved.