Modifier and Type | Method and Description |
---|---|
boolean |
containsKey(java.lang.Object key)
Determines if the Dict object contains a value of a certain key.
|
Dict |
copy()
Create a copy of the Dict object.
|
java.util.Map.Entry[] |
entries()
Get the entries of the Dict object and
store them into the array passed in as argument.
|
java.lang.Object |
get(java.lang.Object key)
Get the corresponding value of a key.
|
boolean |
isEmpty()
Tests whether it is empty.
|
java.lang.Object[] |
keys()
Get the keys of the Dict object in an array.
|
java.lang.Object[] |
keys(java.lang.Object[] buf)
Get the keys of the Dict object and
store them into the array passed in as argument.
|
Dict |
put(java.lang.Object key,
java.lang.Object val)
Functional update.
|
Dict |
puts(java.lang.Object[] keys,
java.lang.Object[] vals)
Functional update.
|
Dict |
remove(java.lang.Object key)
Functional update.
|
Dict |
removes(java.lang.Object[] keys)
Functional update.
|
int |
size()
Get the size.
|
java.lang.Object[] |
values()
Get the values of the Dict object in an array.
|
java.lang.Object[] |
values(java.lang.Object[] buf)
Get the values of the Dict object and
store them into the array passed in as argument.
|
Dict copy()
boolean containsKey(java.lang.Object key)
key
- the key to search.java.lang.Object get(java.lang.Object key)
Map
boolean isEmpty()
Sizeable
java.lang.Object[] keys()
java.lang.Object[] values()
java.lang.Object[] keys(java.lang.Object[] buf)
java.lang.Object[] values(java.lang.Object[] buf)
java.util.Map.Entry[] entries()
Dict put(java.lang.Object key, java.lang.Object val)
key
- the key.val
- the new value.Dict remove(java.lang.Object key)
key
- the key.Dict puts(java.lang.Object[] keys, java.lang.Object[] vals)
keys
- the keys.vals
- the values.Dict removes(java.lang.Object[] keys)
keys
- the keys.