|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jasp.buildin.IStringDictionary
This class is a general interface wrapper that can wrap the following collections:
Constructor Summary | |
IStringDictionary()
|
Method Summary | |
java.util.Enumeration |
elements()
returns an enumerator interface which can be used to iterate through the items in the collection. |
int |
getCount()
Retrieves the number of items in a dictionary. |
IStringList |
getItem(int index)
Retrieves the specified item from a dictionary. |
IStringList |
getItem(java.lang.String key)
Retrieves the specified item from a dictionary. |
IStringList |
getItem(variant index)
Retrieves the specified item from a dictionary. |
java.lang.String |
getKey(int index)
Retrieves the name of the item to be retrieved from the collection. |
java.lang.String |
getKey(java.lang.String key)
Identifier that name which item to retrieve from the collection. |
java.lang.String |
getKey(variant index)
Identifier that name which item to retrieve from the collection. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IStringDictionary()
Method Detail |
public int getCount()
public IStringList getItem(int index) throws java.lang.Exception
index
- the item index in the dictionary.public IStringList getItem(java.lang.String key) throws java.lang.Exception
key
- the name of the item.public IStringList getItem(variant index) throws java.lang.Exception
index
- the item index or name.public java.lang.String getKey(int index) throws java.lang.Exception
index
- the item indexpublic java.lang.String getKey(java.lang.String key) throws java.lang.Exception
key
- the temporary name of the item.public java.lang.String getKey(variant index) throws java.lang.Exception
key
- the temporary name or index of the item .public java.util.Enumeration elements()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |