public class DoubleByteHashMap extends AbstractMutableByteValuesMap implements MutableDoubleByteMap, Externalizable, MutableDoubleKeysMap
| Constructor and Description | 
|---|
DoubleByteHashMap()  | 
DoubleByteHashMap(DoubleByteMap map)  | 
DoubleByteHashMap(int initialCapacity)  | 
| Modifier and Type | Method and Description | 
|---|---|
byte | 
addToValue(double key,
          byte toBeAdded)  | 
MutableDoubleByteMap | 
asSynchronized()  | 
MutableDoubleByteMap | 
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(double key)  | 
boolean | 
equals(Object obj)
Follows the same general contract as  
Map.equals(Object). | 
void | 
forEachKey(DoubleProcedure procedure)  | 
void | 
forEachKeyValue(DoubleByteProcedure procedure)  | 
byte | 
get(double key)  | 
byte | 
getIfAbsent(double key,
           byte ifAbsent)  | 
byte | 
getIfAbsentPut(double key,
              byte value)  | 
byte | 
getIfAbsentPut(double key,
              ByteFunction0 function)  | 
<P> byte | 
getIfAbsentPutWith(double key,
                  ByteFunction<? super P> function,
                  P parameter)  | 
byte | 
getIfAbsentPutWithKey(double key,
                     DoubleToByteFunction function)  | 
byte | 
getOrThrow(double key)  | 
int | 
hashCode()
Follows the same general contract as  
Map.hashCode(). | 
<V> V | 
injectInto(V injectedValue,
          ObjectByteToObjectFunction<? super V,? extends V> function)  | 
MutableDoubleSet | 
keySet()  | 
LazyDoubleIterable | 
keysView()  | 
RichIterable<DoubleBytePair> | 
keyValuesView()  | 
static DoubleByteHashMap | 
newWithKeysValues(double key1,
                 byte value1)  | 
static DoubleByteHashMap | 
newWithKeysValues(double key1,
                 byte value1,
                 double key2,
                 byte value2)  | 
static DoubleByteHashMap | 
newWithKeysValues(double key1,
                 byte value1,
                 double key2,
                 byte value2,
                 double key3,
                 byte value3)  | 
static DoubleByteHashMap | 
newWithKeysValues(double key1,
                 byte value1,
                 double key2,
                 byte value2,
                 double key3,
                 byte value3,
                 double key4,
                 byte value4)  | 
void | 
put(double key,
   byte value)  | 
void | 
putAll(DoubleByteMap map)  | 
void | 
readExternal(ObjectInput in)  | 
DoubleByteHashMap | 
reject(DoubleBytePredicate predicate)  | 
void | 
remove(double key)  | 
void | 
removeKey(double key)  | 
byte | 
removeKeyIfAbsent(double key,
                 byte value)  | 
DoubleByteHashMap | 
select(DoubleBytePredicate predicate)  | 
ImmutableDoubleByteMap | 
toImmutable()  | 
String | 
toString()
Returns a string representation of this PrimitiveIterable. 
 | 
byte | 
updateValue(double key,
           byte initialValueIfAbsent,
           ByteToByteFunction function)  | 
MutableByteCollection | 
values()  | 
DoubleByteHashMap | 
withKeysValues(double key1,
              byte value1,
              double key2,
              byte value2)  | 
DoubleByteHashMap | 
withKeysValues(double key1,
              byte value1,
              double key2,
              byte value2,
              double key3,
              byte value3)  | 
DoubleByteHashMap | 
withKeysValues(double key1,
              byte value1,
              double key2,
              byte value2,
              double key3,
              byte value3,
              double key4,
              byte value4)  | 
DoubleByteHashMap | 
withKeyValue(double key1,
            byte value1)  | 
DoubleByteHashMap | 
withoutAllKeys(DoubleIterable keys)  | 
DoubleByteHashMap | 
withoutKey(double 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 DoubleByteHashMap()
public DoubleByteHashMap(int initialCapacity)
public DoubleByteHashMap(DoubleByteMap map)
public static DoubleByteHashMap newWithKeysValues(double key1, byte value1)
public static DoubleByteHashMap newWithKeysValues(double key1, byte value1, double key2, byte value2)
public static DoubleByteHashMap newWithKeysValues(double key1, byte value1, double key2, byte value2, double key3, byte value3)
public static DoubleByteHashMap newWithKeysValues(double key1, byte value1, double key2, byte value2, double key3, byte value3, double key4, byte value4)
public boolean equals(Object obj)
DoubleByteMapMap.equals(Object).equals in interface DoubleByteMapequals in class Objectpublic int hashCode()
DoubleByteMapMap.hashCode().hashCode in interface DoubleByteMaphashCode in class Objectpublic String toString()
PrimitiveIterabletoString in interface DoubleByteMaptoString 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 MutableDoubleKeysMappublic void put(double key,
                byte value)
put in interface MutableDoubleByteMappublic void putAll(DoubleByteMap map)
putAll in interface MutableDoubleByteMappublic void removeKey(double key)
removeKey in interface MutableDoubleByteMapremoveKey in interface MutableDoubleKeysMappublic void remove(double key)
remove in interface MutableDoubleByteMappublic byte removeKeyIfAbsent(double key,
                              byte value)
removeKeyIfAbsent in interface MutableDoubleByteMappublic byte getIfAbsentPut(double key,
                           byte value)
getIfAbsentPut in interface MutableDoubleByteMappublic byte getIfAbsentPut(double key,
                           ByteFunction0 function)
getIfAbsentPut in interface MutableDoubleByteMappublic <P> byte getIfAbsentPutWith(double key,
                                   ByteFunction<? super P> function,
                                   P parameter)
getIfAbsentPutWith in interface MutableDoubleByteMappublic byte getIfAbsentPutWithKey(double key,
                                  DoubleToByteFunction function)
getIfAbsentPutWithKey in interface MutableDoubleByteMappublic byte addToValue(double key,
                       byte toBeAdded)
addToValue in interface MutableDoubleByteMappublic byte updateValue(double key,
                        byte initialValueIfAbsent,
                        ByteToByteFunction function)
updateValue in interface MutableDoubleByteMappublic DoubleByteHashMap withKeyValue(double key1, byte value1)
withKeyValue in interface MutableDoubleByteMappublic DoubleByteHashMap withKeysValues(double key1, byte value1, double key2, byte value2)
public DoubleByteHashMap withKeysValues(double key1, byte value1, double key2, byte value2, double key3, byte value3)
public DoubleByteHashMap withKeysValues(double key1, byte value1, double key2, byte value2, double key3, byte value3, double key4, byte value4)
public DoubleByteHashMap withoutKey(double key)
withoutKey in interface MutableDoubleByteMappublic DoubleByteHashMap withoutAllKeys(DoubleIterable keys)
withoutAllKeys in interface MutableDoubleByteMappublic MutableDoubleByteMap asUnmodifiable()
asUnmodifiable in interface MutableDoubleByteMappublic MutableDoubleByteMap asSynchronized()
asSynchronized in interface MutableDoubleByteMappublic ImmutableDoubleByteMap toImmutable()
toImmutable in interface DoubleByteMappublic byte get(double key)
get in interface DoubleByteMappublic byte getIfAbsent(double key,
                        byte ifAbsent)
getIfAbsent in interface DoubleByteMappublic byte getOrThrow(double key)
getOrThrow in interface DoubleByteMappublic boolean containsKey(double key)
containsKey in interface DoubleByteMapcontainsKey in interface DoubleKeysMappublic void forEachKey(DoubleProcedure procedure)
forEachKey in interface DoubleByteMapforEachKey in interface DoubleKeysMappublic void forEachKeyValue(DoubleByteProcedure procedure)
forEachKeyValue in interface DoubleByteMappublic LazyDoubleIterable keysView()
keysView in interface DoubleByteMappublic RichIterable<DoubleBytePair> keyValuesView()
keyValuesView in interface DoubleByteMappublic DoubleByteHashMap select(DoubleBytePredicate predicate)
select in interface DoubleByteMapselect in interface MutableDoubleByteMappublic DoubleByteHashMap reject(DoubleBytePredicate predicate)
reject in interface DoubleByteMapreject in interface MutableDoubleByteMappublic void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizableIOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizableIOExceptionClassNotFoundExceptionpublic void compact()
public MutableDoubleSet keySet()
keySet in interface DoubleByteMappublic MutableByteCollection values()
values in interface ByteValuesMapCopyright © 2004–2016. All rights reserved.