com.neeve.lang
Interface XIntMap<V>

All Known Implementing Classes:
XIntLinkedHashMap

public interface XIntMap<V>

Defines a map with primitive int keys.


Nested Class Summary
static interface XIntMap.Entry<V>
          A Map Entry with a primitive int key.
 
Method Summary
 void clear()
           
 boolean containsKey(int key)
           
 boolean containsValue(Object value)
           
 Set<XIntMap.Entry<V>> entrySet()
           
 boolean equals(Object o)
           
 V get(int key)
           
 int hashCode()
           
 boolean isEmpty()
           
 XIntSet keySet()
           
 V put(int key, V value)
           
 void putAll(XIntMap<? extends V> m)
           
 V remove(int key)
           
 int size()
           
 Collection<V> values()
           
 

Method Detail

size

int size()
Returns:
The size of the map
See Also:
Map.size()

isEmpty

boolean isEmpty()
Returns:
true if the map is empty.
See Also:
Map.isEmpty()

containsKey

boolean containsKey(int key)
Returns:
true if the map contains the key
See Also:
Map.containsKey(Object)

containsValue

boolean containsValue(Object value)
Returns:
true if the map is empty.
See Also:
Map.containsValue(Object)

get

V get(int key)

put

V put(int key,
      V value)

remove

V remove(int key)

putAll

void putAll(XIntMap<? extends V> m)

clear

void clear()

keySet

XIntSet keySet()

values

Collection<V> values()

entrySet

Set<XIntMap.Entry<V>> entrySet()

equals

boolean equals(Object o)
Overrides:
equals in class Object

hashCode

int hashCode()
Overrides:
hashCode in class Object


Copyright © 2016 Neeve Research, LLC. All Rights Reserved.