org.xnap.util
Class MultiHashtable
java.lang.Object
java.util.Dictionary<K,V>
java.util.Hashtable
org.xnap.util.MultiHashtable
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Cloneable, java.util.Map
public class MultiHashtable
- extends java.util.Hashtable
Provides a 1:n Hashtable. This implementation is not complete.
- See Also:
- Serialized Form
Method Summary |
boolean |
contains(java.lang.Object value)
|
boolean |
containsValue(java.lang.Object value)
|
java.util.Enumeration |
elements()
|
java.util.List |
getList(java.lang.Object key)
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
void |
putAll(java.util.Map t)
|
java.util.Collection |
values()
|
Methods inherited from class java.util.Hashtable |
clear, clone, containsKey, entrySet, equals, get, hashCode, isEmpty, keys, keySet, rehash, remove, size, toString |
Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
MultiHashtable
public MultiHashtable()
contains
public boolean contains(java.lang.Object value)
- Overrides:
contains
in class java.util.Hashtable
containsValue
public boolean containsValue(java.lang.Object value)
- Specified by:
containsValue
in interface java.util.Map
- Overrides:
containsValue
in class java.util.Hashtable
elements
public java.util.Enumeration elements()
- Overrides:
elements
in class java.util.Hashtable
getList
public java.util.List getList(java.lang.Object key)
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
- Specified by:
put
in interface java.util.Map
- Overrides:
put
in class java.util.Hashtable
- Returns:
- always null
putAll
public void putAll(java.util.Map t)
- Specified by:
putAll
in interface java.util.Map
- Overrides:
putAll
in class java.util.Hashtable
values
public java.util.Collection values()
- Specified by:
values
in interface java.util.Map
- Overrides:
values
in class java.util.Hashtable
Copyright © 2001-2005 XNap Team. All Rights Reserved.