Skip navigation links
oracle.jbo.common
Class WeakHashtable
java.lang.Object
java.util.Dictionary
oracle.jbo.common.WeakHashtable
- Direct Known Subclasses:
- WeakHashlist
-
public class WeakHashtable
- extends java.util.Dictionary
Internal: Applications should not use this class.
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)
|
java.lang.Object |
removeStrict(java.lang.Object key, java.lang.Object value)
|
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()
-
- Specified by:
size
in class java.util.Dictionary
isEmpty
public boolean isEmpty()
-
- Specified by:
isEmpty
in class java.util.Dictionary
keys
public java.util.Enumeration keys()
-
- Specified by:
keys
in class java.util.Dictionary
elements
public java.util.Enumeration elements()
-
- Specified by:
elements
in class java.util.Dictionary
get
public java.lang.Object get(java.lang.Object key)
-
- Specified by:
get
in class java.util.Dictionary
put
public java.lang.Object put(java.lang.Object key,
java.lang.Object value)
-
- Specified by:
put
in class java.util.Dictionary
remove
public java.lang.Object remove(java.lang.Object key)
-
- Specified by:
remove
in class java.util.Dictionary
removeStrict
public java.lang.Object removeStrict(java.lang.Object key,
java.lang.Object value)
clear
public void clear()
Skip navigation links
Copyright © 1997, 2009, Oracle. All rights reserved.