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 Class Summary
static interface IntIntMap.IntIntEntry
           
 
Nested classes/interfaces inherited from interface ch.javasoft.util.intcoll.IntMap
IntMap.IntEntry<V>
 
Nested classes/interfaces inherited from interface java.util.Map
Map.Entry<K,V>
 
Method Summary
 boolean containsKey(int key)
           
 boolean containsValue(int value)
           
 int getInt(int key)
          Returns the int value for the specified key, or throws a NoSuchElementException otherwise
 Set<IntIntMap.IntIntEntry> intIntEntrySet()
           
 Integer put(int key, int value)
           
 void putAll(IntIntMap map)
           
 IntCollection values()
           
 
Methods inherited from interface ch.javasoft.util.intcoll.IntMap
entrySet, get, intEntrySet, keySet, put, putAll, remove
 
Methods inherited from interface java.util.Map
clear, containsKey, containsValue, equals, get, hashCode, isEmpty, put, putAll, remove, size
 

Method Detail

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)