@Generated(date="2014-01-02T13:00:30+0000", value="HPPC generated from: ShortLongMap.java") public interface ShortLongMap extends ShortLongAssociativeContainer
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares the specified object with this set for equality.
|
long |
get(short key) |
long |
getOrDefault(short key,
long defaultValue) |
int |
hashCode() |
long |
put(short key,
long value)
Place a given key and value in the container.
|
int |
putAll(java.lang.Iterable<? extends ShortLongCursor> iterable)
Puts all keys from an iterable cursor to this map, replacing the values
of existing keys, if such keys are present.
|
int |
putAll(ShortLongAssociativeContainer container)
Puts all keys from another container to this map, replacing the values
of existing keys, if such keys are present.
|
long |
remove(short key)
Remove all values at the given key.
|
long put(short key, long value)
long get(short key)
long getOrDefault(short key, long defaultValue)
int putAll(ShortLongAssociativeContainer container)
int putAll(java.lang.Iterable<? extends ShortLongCursor> iterable)
long remove(short key)
boolean equals(java.lang.Object obj)
ShortLongMap
and both objects contains exactly the same key-value pairs.equals
in class java.lang.Object
int hashCode()
hashCode
in class java.lang.Object
Copyright © 2014 Carrot Search s.c.. All rights reserved.