public class FloatByteHashMap extends AbstractMutableByteValuesMap implements MutableFloatByteMap, Externalizable, MutableFloatKeysMap
| Constructor and Description | 
|---|
FloatByteHashMap()  | 
FloatByteHashMap(FloatByteMap map)  | 
FloatByteHashMap(int initialCapacity)  | 
| Modifier and Type | Method and Description | 
|---|---|
byte | 
addToValue(float key,
          byte toBeAdded)  | 
MutableFloatByteMap | 
asSynchronized()  | 
MutableFloatByteMap | 
asUnmodifiable()  | 
MutableByteIterator | 
byteIterator()  | 
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(FloatByteProcedure procedure)  | 
byte | 
get(float key)  | 
byte | 
getIfAbsent(float key,
           byte ifAbsent)  | 
byte | 
getIfAbsentPut(float key,
              byte value)  | 
byte | 
getIfAbsentPut(float key,
              ByteFunction0 function)  | 
<P> byte | 
getIfAbsentPutWith(float key,
                  ByteFunction<? super P> function,
                  P parameter)  | 
byte | 
getIfAbsentPutWithKey(float key,
                     FloatToByteFunction function)  | 
byte | 
getOrThrow(float key)  | 
int | 
hashCode()
Follows the same general contract as  
Map.hashCode(). | 
<V> V | 
injectInto(V injectedValue,
          ObjectByteToObjectFunction<? super V,? extends V> function)  | 
MutableFloatSet | 
keySet()  | 
LazyFloatIterable | 
keysView()  | 
RichIterable<FloatBytePair> | 
keyValuesView()  | 
static FloatByteHashMap | 
newWithKeysValues(float key1,
                 byte value1)  | 
static FloatByteHashMap | 
newWithKeysValues(float key1,
                 byte value1,
                 float key2,
                 byte value2)  | 
static FloatByteHashMap | 
newWithKeysValues(float key1,
                 byte value1,
                 float key2,
                 byte value2,
                 float key3,
                 byte value3)  | 
static FloatByteHashMap | 
newWithKeysValues(float key1,
                 byte value1,
                 float key2,
                 byte value2,
                 float key3,
                 byte value3,
                 float key4,
                 byte value4)  | 
void | 
put(float key,
   byte value)  | 
void | 
putAll(FloatByteMap map)  | 
void | 
readExternal(ObjectInput in)  | 
FloatByteHashMap | 
reject(FloatBytePredicate predicate)  | 
void | 
remove(float key)  | 
void | 
removeKey(float key)  | 
byte | 
removeKeyIfAbsent(float key,
                 byte value)  | 
FloatByteHashMap | 
select(FloatBytePredicate predicate)  | 
ImmutableFloatByteMap | 
toImmutable()  | 
String | 
toString()
Returns a string representation of this PrimitiveIterable. 
 | 
byte | 
updateValue(float key,
           byte initialValueIfAbsent,
           ByteToByteFunction function)  | 
MutableByteCollection | 
values()  | 
FloatByteHashMap | 
withKeysValues(float key1,
              byte value1,
              float key2,
              byte value2)  | 
FloatByteHashMap | 
withKeysValues(float key1,
              byte value1,
              float key2,
              byte value2,
              float key3,
              byte value3)  | 
FloatByteHashMap | 
withKeysValues(float key1,
              byte value1,
              float key2,
              byte value2,
              float key3,
              byte value3,
              float key4,
              byte value4)  | 
FloatByteHashMap | 
withKeyValue(float key1,
            byte value1)  | 
FloatByteHashMap | 
withoutAllKeys(FloatIterable keys)  | 
FloatByteHashMap | 
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, toArrayasLazy, average, containsAll, 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, summaryStatistics, toArray, toBag, toList, toSet, toSortedArray, toSortedListappendString, appendString, appendString, isEmpty, makeString, makeString, makeString, notEmpty, sizeisEmpty, notEmpty, sizepublic FloatByteHashMap()
public FloatByteHashMap(int initialCapacity)
public FloatByteHashMap(FloatByteMap map)
public static FloatByteHashMap newWithKeysValues(float key1, byte value1)
public static FloatByteHashMap newWithKeysValues(float key1, byte value1, float key2, byte value2)
public static FloatByteHashMap newWithKeysValues(float key1, byte value1, float key2, byte value2, float key3, byte value3)
public static FloatByteHashMap newWithKeysValues(float key1, byte value1, float key2, byte value2, float key3, byte value3, float key4, byte value4)
public boolean equals(Object obj)
FloatByteMapMap.equals(Object).equals in interface FloatByteMapequals in class Objectpublic int hashCode()
FloatByteMapMap.hashCode().hashCode in interface FloatByteMaphashCode in class Objectpublic String toString()
PrimitiveIterabletoString in interface FloatByteMaptoString in interface PrimitiveIterabletoString in class AbstractByteIterablepublic MutableByteIterator byteIterator()
byteIterator in interface ByteIterablebyteIterator in interface MutableByteValuesMappublic <V> V injectInto(V injectedValue,
                        ObjectByteToObjectFunction<? super V,? extends V> function)
injectInto in interface ByteIterablepublic void clear()
clear in interface MutableByteValuesMapclear in interface MutableFloatKeysMappublic void put(float key,
                byte value)
put in interface MutableFloatByteMappublic void putAll(FloatByteMap map)
putAll in interface MutableFloatByteMappublic void removeKey(float key)
removeKey in interface MutableFloatByteMapremoveKey in interface MutableFloatKeysMappublic void remove(float key)
remove in interface MutableFloatByteMappublic byte removeKeyIfAbsent(float key,
                              byte value)
removeKeyIfAbsent in interface MutableFloatByteMappublic byte getIfAbsentPut(float key,
                           byte value)
getIfAbsentPut in interface MutableFloatByteMappublic byte getIfAbsentPut(float key,
                           ByteFunction0 function)
getIfAbsentPut in interface MutableFloatByteMappublic <P> byte getIfAbsentPutWith(float key,
                                   ByteFunction<? super P> function,
                                   P parameter)
getIfAbsentPutWith in interface MutableFloatByteMappublic byte getIfAbsentPutWithKey(float key,
                                  FloatToByteFunction function)
getIfAbsentPutWithKey in interface MutableFloatByteMappublic byte addToValue(float key,
                       byte toBeAdded)
addToValue in interface MutableFloatByteMappublic byte updateValue(float key,
                        byte initialValueIfAbsent,
                        ByteToByteFunction function)
updateValue in interface MutableFloatByteMappublic FloatByteHashMap withKeyValue(float key1, byte value1)
withKeyValue in interface MutableFloatByteMappublic FloatByteHashMap withKeysValues(float key1, byte value1, float key2, byte value2)
public FloatByteHashMap withKeysValues(float key1, byte value1, float key2, byte value2, float key3, byte value3)
public FloatByteHashMap withKeysValues(float key1, byte value1, float key2, byte value2, float key3, byte value3, float key4, byte value4)
public FloatByteHashMap withoutKey(float key)
withoutKey in interface MutableFloatByteMappublic FloatByteHashMap withoutAllKeys(FloatIterable keys)
withoutAllKeys in interface MutableFloatByteMappublic MutableFloatByteMap asUnmodifiable()
asUnmodifiable in interface MutableFloatByteMappublic MutableFloatByteMap asSynchronized()
asSynchronized in interface MutableFloatByteMappublic ImmutableFloatByteMap toImmutable()
toImmutable in interface FloatByteMappublic byte get(float key)
get in interface FloatByteMappublic byte getIfAbsent(float key,
                        byte ifAbsent)
getIfAbsent in interface FloatByteMappublic byte getOrThrow(float key)
getOrThrow in interface FloatByteMappublic boolean containsKey(float key)
containsKey in interface FloatByteMapcontainsKey in interface FloatKeysMappublic void forEachKey(FloatProcedure procedure)
forEachKey in interface FloatByteMapforEachKey in interface FloatKeysMappublic void forEachKeyValue(FloatByteProcedure procedure)
forEachKeyValue in interface FloatByteMappublic LazyFloatIterable keysView()
keysView in interface FloatByteMappublic RichIterable<FloatBytePair> keyValuesView()
keyValuesView in interface FloatByteMappublic FloatByteHashMap select(FloatBytePredicate predicate)
select in interface FloatByteMapselect in interface MutableFloatByteMappublic FloatByteHashMap reject(FloatBytePredicate predicate)
reject in interface FloatByteMapreject in interface MutableFloatByteMappublic 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 FloatByteMappublic MutableByteCollection values()
values in interface ByteValuesMapCopyright © 2004–2016. All rights reserved.