Package com.macrofocus.molap.util
Interface ObjectIntMap<K>
-
- All Known Implementing Classes:
JCFObjectIntMap
,TroveObjectIntMap
public interface ObjectIntMap<K>
Created by luc on 10.02.17.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
adjustOrPutValue(K key, int adjust_amount, int put_amount)
boolean
adjustValue(K key, int amount)
void
clear()
boolean
containsKey(K key)
boolean
containsValue(int value)
ObjectIntMap<K>
copy(K... keysToRemove)
int
get(K key)
boolean
isEmpty()
int
put(K key, int value)
int
remove(K key)
int
size()
-
-
-
Method Detail
-
clear
void clear()
-
containsKey
boolean containsKey(K key)
-
containsValue
boolean containsValue(int value)
-
get
int get(K key)
-
isEmpty
boolean isEmpty()
-
put
int put(K key, int value)
-
remove
int remove(K key)
-
size
int size()
-
adjustOrPutValue
int adjustOrPutValue(K key, int adjust_amount, int put_amount)
-
adjustValue
boolean adjustValue(K key, int amount)
-
copy
ObjectIntMap<K> copy(K... keysToRemove)
-
-