|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
@Generated(date="2011-11-28T23:36:05+0000", value="HPPC generated from: ShortIntMap.java") public interface ShortIntMap
An associative container with unique binding from keys to a single value.
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
Compares the specified object with this set for equality. |
int |
get(short key)
|
int |
hashCode()
|
int |
put(short key,
int value)
Place a given key and value in the container. |
int |
putAll(java.lang.Iterable<? extends ShortIntCursor> iterable)
Puts all keys from an iterable cursor to this map, replacing the values of existing keys, if such keys are present. |
int |
putAll(ShortIntAssociativeContainer container)
Puts all keys from another container to this map, replacing the values of existing keys, if such keys are present. |
int |
remove(short key)
Remove all values at the given key. |
Methods inherited from interface com.carrotsearch.hppc.ShortIntAssociativeContainer |
---|
clear, containsKey, forEach, isEmpty, iterator, keys, removeAll, removeAll, size, values |
Method Detail |
---|
int put(short key, int value)
int get(short key)
int putAll(ShortIntAssociativeContainer container)
int putAll(java.lang.Iterable<? extends ShortIntCursor> iterable)
int remove(short key)
boolean equals(java.lang.Object obj)
ShortIntMap
and both objects contains exactly the same key-value pairs.
equals
in class java.lang.Object
int hashCode()
hashCode
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |