@Generated(date="2018-01-02T13:19:09+0000", value="HPPC generated from: ShortIntMap.java") public interface ShortIntMap extends ShortIntAssociativeContainer
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Compares the specified object with this set for equality.
|
int |
get(short key) |
int |
getOrDefault(short key,
int defaultValue) |
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.
|
int put(short key, int value)
int get(short key)
int getOrDefault(short key, int defaultValue)
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
Copyright © 2018 Carrot Search s.c.. All rights reserved.