Package zombie.util.map
Class AbstractIntKeyMap
java.lang.Object
zombie.util.map.AbstractIntKeyMap
- All Implemented Interfaces:
IntKeyMap
- Direct Known Subclasses:
IntKeyOpenHashMap
public abstract class AbstractIntKeyMap extends java.lang.Object implements IntKeyMap
-
Constructor Summary
Constructors Modifier Constructor Description protected
AbstractIntKeyMap()
-
Method Summary
Modifier and Type Method Description void
clear()
boolean
containsKey(int key)
boolean
containsValue(java.lang.Object value)
boolean
equals(java.lang.Object obj)
java.lang.Object
get(int key)
int
hashCode()
boolean
isEmpty()
void
putAll(IntKeyMap map)
java.lang.Object
remove(int key)
int
size()
java.lang.String
toString()
void
trimToSize()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
AbstractIntKeyMap
protected AbstractIntKeyMap()
-
-
Method Details
-
clear
public void clear() -
remove
public java.lang.Object remove(int key) -
putAll
-
containsKey
public boolean containsKey(int key)- Specified by:
containsKey
in interfaceIntKeyMap
-
get
public java.lang.Object get(int key) -
containsValue
public boolean containsValue(java.lang.Object value)- Specified by:
containsValue
in interfaceIntKeyMap
-
equals
public boolean equals(java.lang.Object obj) -
hashCode
public int hashCode() -
isEmpty
public boolean isEmpty() -
size
public int size() -
toString
public java.lang.String toString()- Overrides:
toString
in classjava.lang.Object
-
trimToSize
public void trimToSize()
-