org.osjava.sj.jndi
Class StaticHashtable

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended byorg.osjava.sj.jndi.StaticHashtable
All Implemented Interfaces:
java.lang.Cloneable, java.util.Map, java.io.Serializable

public class StaticHashtable
extends java.util.Hashtable

A hashtable that shares its space with any other instance of StaticHashtable.

See Also:
Serialized Form

Constructor Summary
StaticHashtable()
           
 
Method Summary
 void clear()
           
 boolean contains(java.lang.Object obj)
           
 boolean containsKey(java.lang.Object obj)
           
 boolean containsValue(java.lang.Object obj)
           
 java.util.Enumeration elements()
           
 java.util.Set entrySet()
           
 boolean equals(java.lang.Object obj)
           
 java.lang.Object get(java.lang.Object obj)
           
 int hashCode()
           
 boolean isEmpty()
           
 java.util.Enumeration keys()
           
 java.util.Set keySet()
           
 java.lang.Object put(java.lang.Object key, java.lang.Object value)
           
 void putAll(java.util.Map map)
           
 java.lang.Object remove(java.lang.Object obj)
           
 int size()
           
 java.lang.String toString()
           
 java.util.Collection values()
           
 
Methods inherited from class java.util.Hashtable
clone, rehash
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StaticHashtable

public StaticHashtable()
Method Detail

size

public int size()

isEmpty

public boolean isEmpty()

keys

public java.util.Enumeration keys()

elements

public java.util.Enumeration elements()

contains

public boolean contains(java.lang.Object obj)

containsValue

public boolean containsValue(java.lang.Object obj)

containsKey

public boolean containsKey(java.lang.Object obj)

get

public java.lang.Object get(java.lang.Object obj)

put

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

remove

public java.lang.Object remove(java.lang.Object obj)

putAll

public void putAll(java.util.Map map)

clear

public void clear()

toString

public java.lang.String toString()

keySet

public java.util.Set keySet()

entrySet

public java.util.Set entrySet()

values

public java.util.Collection values()

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()


Copyright © 2003-2007 OSJava. All Rights Reserved.