|
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 | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectoracle.adfnmc.java.util.Dictionary
oracle.jbo.common.WeakHashtableImpl
public class WeakHashtableImpl
Internal: Applications should not use this class.
Constructor Summary | |
---|---|
WeakHashtableImpl()
|
|
WeakHashtableImpl(int initialCapacity)
|
|
WeakHashtableImpl(int initialCapacity,
float loadFactor)
|
Method Summary | |
---|---|
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 . |
protected void |
rehash()
|
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 WeakHashtableImpl(int initialCapacity, float loadFactor)
public WeakHashtableImpl(int initialCapacity)
public WeakHashtableImpl()
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)
protected void rehash()
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)
|
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 | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |