|
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
public abstract class Dictionary
Dictionary is a abstract class which is the superclass of all classes that associate keys with values, such as Hashtable.
Hashtable
Constructor Summary | |
---|---|
Dictionary()
Constructs a new instance of this class. |
Method Summary | |
---|---|
abstract java.util.Enumeration |
elements()
Answers an Enumeration on the elements of this Dictionary. |
abstract java.lang.Object |
get(java.lang.Object key)
Answers the value associated with key . |
abstract boolean |
isEmpty()
Answers if this Dictionary has no key/value pairs, a size of zero. |
abstract java.util.Enumeration |
keys()
Answers an Enumeration on the keys of this Dictionary. |
abstract java.lang.Object |
put(java.lang.Object key,
java.lang.Object value)
Associate key with value in this Dictionary . |
abstract java.lang.Object |
remove(java.lang.Object key)
Remove the key/value pair with the specified key from this Dictionary . |
abstract 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 Dictionary()
Method Detail |
---|
public abstract java.util.Enumeration elements()
keys()
,
size()
,
Enumeration
public abstract java.lang.Object get(java.lang.Object key)
key
.
key
- the key of the value returned
key
or null
if the specified key does not existput(java.lang.Object, java.lang.Object)
public abstract boolean isEmpty()
size()
public abstract java.util.Enumeration keys()
elements()
,
size()
,
Enumeration
public abstract java.lang.Object put(java.lang.Object key, java.lang.Object value)
key
with value
in this Dictionary
. If key
exists in
the Dictionary
prior to this call being made, the old value is replaced.
key
- the key to addvalue
- the value to add
key
or null
if key
is new
to the Dictionary
.elements()
,
get(java.lang.Object)
,
keys()
public abstract java.lang.Object remove(java.lang.Object key)
key
from this Dictionary
.
key
- the key to remove
null
if key
is not known to this
Dictionary
get(java.lang.Object)
,
put(java.lang.Object, java.lang.Object)
public abstract int size()
elements()
,
keys()
|
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 |