|
MaltParser 1.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.maltparser.core.helper.HashMap<K,V>
K - the key typeV - the value typepublic class HashMap<K,V>
A memory-efficient hash map.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Constructor Summary | |
|---|---|
HashMap()
|
|
HashMap(Map<? extends K,? extends V> m)
|
|
| Method Summary | |
|---|---|
void |
clear()
|
boolean |
containsKey(Object key)
|
boolean |
containsValue(Object value)
|
protected void |
doReadObject(ObjectInputStream in)
Adapted from org.apache.commons.collections.map.AbstractHashedMap. |
protected void |
doWriteObject(ObjectOutputStream out)
Adapted from org.apache.commons.collections.map.AbstractHashedMap. |
Set<Map.Entry<K,V>> |
entrySet()
|
boolean |
equals(Object o)
|
V |
get(Object key)
|
int |
hashCode()
|
boolean |
isEmpty()
|
protected boolean |
keyEquals(Object a,
Object b)
Returns whether two keys are equal for the purposes of this set. |
protected int |
keyHashCode(Object k)
Returns the hashCode for a key. |
Set<K> |
keySet()
|
V |
put(K key,
V value)
|
void |
putAll(Map<? extends K,? extends V> m)
|
V |
remove(Object key)
|
int |
size()
|
String |
toString()
|
protected boolean |
valueEquals(Object a,
Object b)
Returns whether two values are equal for the purposes of this set. |
protected int |
valueHashCode(Object v)
Returns the hashCode for a value. |
Collection<V> |
values()
|
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public HashMap()
public HashMap(Map<? extends K,? extends V> m)
| Method Detail |
|---|
public void clear()
clear in interface Map<K,V>public boolean containsKey(Object key)
containsKey in interface Map<K,V>public boolean containsValue(Object value)
containsValue in interface Map<K,V>public Set<Map.Entry<K,V>> entrySet()
entrySet in interface Map<K,V>public boolean equals(Object o)
equals in interface Map<K,V>equals in class Objectpublic V get(Object key)
get in interface Map<K,V>public int hashCode()
hashCode in interface Map<K,V>hashCode in class Objectpublic boolean isEmpty()
isEmpty in interface Map<K,V>public Set<K> keySet()
keySet in interface Map<K,V>
public V put(K key,
V value)
put in interface Map<K,V>public void putAll(Map<? extends K,? extends V> m)
putAll in interface Map<K,V>public V remove(Object key)
remove in interface Map<K,V>public int size()
size in interface Map<K,V>public String toString()
toString in class Objectpublic Collection<V> values()
values in interface Map<K,V>
protected void doReadObject(ObjectInputStream in)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
protected void doWriteObject(ObjectOutputStream out)
throws IOException
IOException
protected boolean keyEquals(Object a,
Object b)
protected int keyHashCode(Object k)
protected boolean valueEquals(Object a,
Object b)
protected int valueHashCode(Object v)
|
MaltParser 1.5 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||