public final class SortedTable extends Dictionary implements Serializable
| Constructor and Description |
|---|
SortedTable() |
| Modifier and Type | Method and Description |
|---|---|
Object |
elementAt(int index)
Returns the element at the specified index.
|
Enumeration |
elements()
Returns an enumeration of the values in this table.
|
Object |
get(Object key)
Returns the value to which the key is mapped in this table.
|
Vector |
getElementVector()
Returns a Vector containing the elements in the SortedTable.
|
Object |
getKey(int index)
Returns the key at the specified index.
|
boolean |
isEmpty()
Tests if this table is empty.
|
Enumeration |
keys()
Returns an enumeration of the keys in this table.
|
Object |
put(Object key,
Object value)
Maps the specified key to the specified value in this table.
|
Object |
remove(Object key)
Removes the key (and its corresponding value) from this table.
|
int |
size()
Returns the number of keys in this table.
|
public int size()
size in class Dictionarypublic boolean isEmpty()
isEmpty in class Dictionarypublic Enumeration keys()
keys in class Dictionarypublic Enumeration elements()
elements in class Dictionarypublic Object get(Object key)
get in class Dictionarykey - a key in this table.public Object getKey(int index)
index - the index to returnpublic Object elementAt(int index)
index - the index to returnpublic Object put(Object key, Object value) throws NullPointerException
put in class Dictionarykey - the keyvalue - the valueNullPointerException - if the key or value is null.public Object remove(Object key)
remove in class Dictionarykey - the key to remove.public Vector getElementVector()
Copyright © 1999-2012 OPeNDAP. All Rights Reserved.