lexx.trie
Class MultiHashMap

java.lang.Object
  |
  +--lexx.trie.MultiHashMap
All Implemented Interfaces:
java.lang.Cloneable, java.io.Serializable

final class MultiHashMap
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable

MultiHashMap simular to java.util.HashMap but stores many objects with the same key

All data is stored in memory

Copyright (c) 2002-2003

Since:
18/02/2003
Version:
1.0
Author:
Mohammed Imran

Constructor Summary
(package private) MultiHashMap()
           
 
Method Summary
 java.lang.Object clone()
           
 java.util.List get(java.lang.Object key)
           
 java.util.List getAllValues()
           
 void put(java.lang.Object key, java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiHashMap

MultiHashMap()
Method Detail

clone

public final java.lang.Object clone()
Overrides:
clone in class java.lang.Object

put

public final void put(java.lang.Object key,
                      java.lang.Object value)

get

public final java.util.List get(java.lang.Object key)

getAllValues

public final java.util.List getAllValues()