ch.javasoft.util.intcoll
Interface IntIntMap
- All Superinterfaces:
- IntMap<Integer>, Map<Integer,Integer>
- All Known Implementing Classes:
- AbstractIntIntMap, DefaultIntIntMap, KeyRangeIntIntMap
public interface IntIntMap
- extends IntMap<Integer>
IntIntMap is an (int) map containing int keys and values
| Nested classes/interfaces inherited from interface java.util.Map |
Map.Entry<K,V> |
| Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, size |
getInt
int getInt(int key)
- Returns the int value for the specified key, or throws a
NoSuchElementException otherwise
- Parameters:
key - the key for which the value shall be returned
- Returns:
- the value associated with the given key
- Throws:
NoSuchElementException - if no such key exists
containsKey
boolean containsKey(int key)
- Specified by:
containsKey in interface IntMap<Integer>
containsValue
boolean containsValue(int value)
intIntEntrySet
Set<IntIntMap.IntIntEntry> intIntEntrySet()
values
IntCollection values()
- Specified by:
values in interface Map<Integer,Integer>
put
Integer put(int key,
int value)
putAll
void putAll(IntIntMap map)