opennlp.tools.util
Class HashList

java.lang.Object
  extended by java.util.AbstractMap<K,V>
      extended by java.util.HashMap
          extended by opennlp.tools.util.HashList
All Implemented Interfaces:
Serializable, Cloneable, Map

public class HashList
extends HashMap

Class which creates mapping between keys and a list of values.

See Also:
Serialized Form

Constructor Summary
HashList()
           
 
Method Summary
 Object get(Object key, int index)
           
 List put(Object key, Object value)
           
 Object putAll(Object key, Collection values)
           
 boolean remove(Object key, Object value)
           
 
Methods inherited from class java.util.HashMap
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, values
 
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.util.Map
equals, hashCode
 

Constructor Detail

HashList

public HashList()
Method Detail

get

public Object get(Object key,
                  int index)

putAll

public Object putAll(Object key,
                     Collection values)

put

public List put(Object key,
                Object value)
Specified by:
put in interface Map
Overrides:
put in class HashMap

remove

public boolean remove(Object key,
                      Object value)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.