|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--jasp.buildin.IVariantDictionary
This class is a general interface wrapper that can wrap the following collections:
Constructor Summary | |
IVariantDictionary()
Creates the IVariantDictionary object. |
Method Summary | |
java.util.Enumeration |
elements()
Retrieves an enumerator interface which can be used to iterate through the items in the collection. |
int |
getCount()
Returns the number of items in either the Contents or StaticObjects collection. |
variant |
getItem(int index)
Retrieves the specified item from either the Contents or StaticObjects colleciton. |
variant |
getItem(java.lang.String key)
Retrieves the specified item from either the Contents or StaticObjects colleciton. |
java.lang.String |
getKey(int index)
Returns a unique identifier for an item in either the Contents or StaticObjects collection. |
void |
Remove(int index)
Deletes an item from the Contents collection. |
void |
Remove(java.lang.String key)
Deletes an item from the Contents collection. |
void |
RemoveAll()
Deletes all items from the Contents Collection. |
void |
setItem(java.lang.String key,
boolean value)
Adds an item to either the Contents or StaticObjects collection |
void |
setItem(java.lang.String key,
double value)
Adds an item to either the Contents or StaticObjects collection |
void |
setItem(java.lang.String key,
int value)
Adds an item to either the Contents or StaticObjects collection |
void |
setItem(java.lang.String key,
java.lang.Object value)
Adds an item to either the Contents or StaticObjects collection |
void |
setItem(java.lang.String key,
java.lang.String value)
Adds an item to either the Contents or StaticObjects collection |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public IVariantDictionary()
Method Detail |
public java.lang.String getKey(int index)
index
- the item index in the collection.public java.util.Enumeration elements()
public variant getItem(int index)
index
- the item index.public variant getItem(java.lang.String key)
key
- the name of the item.public void setItem(java.lang.String key, java.lang.Object value)
key
- the name of the item.value
- the value of the item.public void setItem(java.lang.String key, int value)
key
- the name of the item.value
- the value of the item.public void setItem(java.lang.String key, double value)
key
- the name of the item.value
- the value of the item.public void setItem(java.lang.String key, boolean value)
key
- the name of the item.value
- the value of the item.public void setItem(java.lang.String key, java.lang.String value)
key
- the name of the item.value
- the value of the item.public void Remove(int index)
index
- the item index.public void Remove(java.lang.String key)
key
- the name of the item.public void RemoveAll()
public int getCount()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |