|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adfnmc.java.util.Dictionary
oracle.jbo.common.WeakHashtable
public class WeakHashtable
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()
Answers an Enumeration on the elements of this Dictionary. |
java.lang.Object |
get(java.lang.Object key)
Answers the value associated with key . |
boolean |
isEmpty()
Answers if this Dictionary has no key/value pairs, a size of zero. |
java.util.Enumeration |
keys()
Answers an Enumeration on the keys of this Dictionary. |
java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
Associate key with value in this Dictionary . |
java.lang.Object |
remove(java.lang.Object key)
Remove the key/value pair with the specified key from this Dictionary . |
java.lang.Object |
removeStrict(java.lang.Object key,
java.lang.Object value)
|
int |
size()
Answers the number of key/value pairs in this Dictionary. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public WeakHashtable(int initialCapacity, float loadFactor)
public WeakHashtable(int initialCapacity)
public WeakHashtable()
Method Detail |
---|
public int size()
Dictionary
size
in class Dictionary
Dictionary.elements()
,
Dictionary.keys()
public boolean isEmpty()
Dictionary
isEmpty
in class Dictionary
Dictionary.size()
public java.util.Enumeration keys()
Dictionary
keys
in class Dictionary
Dictionary.elements()
,
Dictionary.size()
,
Enumeration
public java.util.Enumeration elements()
Dictionary
elements
in class Dictionary
Dictionary.keys()
,
Dictionary.size()
,
Enumeration
public java.lang.Object get(java.lang.Object key)
Dictionary
key
.
get
in class Dictionary
key
- the key of the value returned
key
or null
if the specified key does not existDictionary.put(java.lang.Object, java.lang.Object)
public java.lang.Object put(java.lang.Object key, java.lang.Object value)
Dictionary
key
with value
in this Dictionary
. If key
exists in
the Dictionary
prior to this call being made, the old value is replaced.
put
in class Dictionary
key
- the key to addvalue
- the value to add
key
or null
if key
is new
to the Dictionary
.Dictionary.elements()
,
Dictionary.get(java.lang.Object)
,
Dictionary.keys()
public java.lang.Object remove(java.lang.Object key)
Dictionary
key
from this Dictionary
.
remove
in class Dictionary
key
- the key to remove
null
if key
is not known to this
Dictionary
Dictionary.get(java.lang.Object)
,
Dictionary.put(java.lang.Object, java.lang.Object)
public java.lang.Object removeStrict(java.lang.Object key, java.lang.Object value)
public void clear()
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |