oracle.jbo.common
Class WeakHashtable
java.lang.Object
java.util.Dictionary
oracle.jbo.common.WeakHashtable
- public class WeakHashtable
- extends java.util.Dictionary
Internal: Applications should not use this class.
...
- See Also:
...
Constructor Summary |
WeakHashtable()
|
WeakHashtable(int initialCapacity)
|
WeakHashtable(int initialCapacity,
float loadFactor)
public static void main(String argv[])
{
WeakHashtable tab0 = new WeakHashtable();
WeakHashtable tab1 = new WeakHashtable(20);
WeakHashtable tab2 = new WeakHashtable(20, 7.2f);
System.out.println("tab0 (" + tab0.getClass().getName() + ") " + tab0);
System.out.println("tab1 (" + tab1.getClass().getName() + ") " + tab1);
System.out.println("tab2 (" + tab2.getClass().getName() + ") " + tab2);
} |
Method Summary |
void |
clear()
|
java.util.Enumeration |
elements()
|
java.lang.Object |
get(java.lang.Object key)
|
boolean |
isEmpty()
|
java.util.Enumeration |
keys()
|
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
|
java.lang.Object |
remove(java.lang.Object key)
|
int |
size()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
WeakHashtable
public WeakHashtable(int initialCapacity,
float loadFactor)
- public static void main(String argv[])
{
WeakHashtable tab0 = new WeakHashtable();
WeakHashtable tab1 = new WeakHashtable(20);
WeakHashtable tab2 = new WeakHashtable(20, 7.2f);
System.out.println("tab0 (" + tab0.getClass().getName() + ") " + tab0);
System.out.println("tab1 (" + tab1.getClass().getName() + ") " + tab1);
System.out.println("tab2 (" + tab2.getClass().getName() + ") " + tab2);
}
WeakHashtable
public WeakHashtable(int initialCapacity)
WeakHashtable
public WeakHashtable()
size
public int size()
isEmpty
public boolean isEmpty()
keys
public java.util.Enumeration keys()
elements
public java.util.Enumeration elements()
get
public java.lang.Object get(java.lang.Object key)
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
remove
public java.lang.Object remove(java.lang.Object key)
clear
public void clear()
Copyright © 1997, 2004, Oracle. All rights reserved.