|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.LexGrid.LexBIG.DataModel.Collections.NameAndValueList
public class NameAndValueList
Class NameAndValueList.
Constructor Summary | |
---|---|
NameAndValueList()
|
Method Summary | |
---|---|
void |
addNameAndValue(int index,
NameAndValue vNameAndValue)
|
void |
addNameAndValue(NameAndValue vNameAndValue)
|
java.util.Enumeration<NameAndValue> |
enumerateNameAndValue()
Method enumerateNameAndValue. |
NameAndValue[] |
getNameAndValue()
Method getNameAndValue.Returns the contents of the collection in an Array. |
NameAndValue |
getNameAndValue(int index)
Method getNameAndValue. |
int |
getNameAndValueCount()
Method getNameAndValueCount. |
java.util.Iterator<NameAndValue> |
iterateNameAndValue()
Method iterateNameAndValue. |
void |
removeAllNameAndValue()
|
boolean |
removeNameAndValue(NameAndValue vNameAndValue)
Method removeNameAndValue. |
NameAndValue |
removeNameAndValueAt(int index)
Method removeNameAndValueAt. |
void |
setNameAndValue(int index,
NameAndValue vNameAndValue)
|
void |
setNameAndValue(NameAndValue[] vNameAndValueArray)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NameAndValueList()
Method Detail |
---|
public void addNameAndValue(NameAndValue vNameAndValue) throws java.lang.IndexOutOfBoundsException
vNameAndValue
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addNameAndValue(int index, NameAndValue vNameAndValue) throws java.lang.IndexOutOfBoundsException
index
- vNameAndValue
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<NameAndValue> enumerateNameAndValue()
public NameAndValue getNameAndValue(int index) throws java.lang.IndexOutOfBoundsException
index
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic NameAndValue[] getNameAndValue()
Note: Just in case the collection contents are changing in another thread, we pass a 0-length Array of the correct type into the API call. This way we know that the Array returned is of exactly the correct length.
public int getNameAndValueCount()
public java.util.Iterator<NameAndValue> iterateNameAndValue()
public void removeAllNameAndValue()
public boolean removeNameAndValue(NameAndValue vNameAndValue)
vNameAndValue
-
public NameAndValue removeNameAndValueAt(int index)
index
-
public void setNameAndValue(int index, NameAndValue vNameAndValue) throws java.lang.IndexOutOfBoundsException
index
- vNameAndValue
-
java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setNameAndValue(NameAndValue[] vNameAndValueArray)
vNameAndValueArray
-
|
Copyright: (c) 2004-2006 Mayo Foundation for Medical Education and Research (MFMER). All rights reserved. MAYO, MAYO CLINIC, and the triple-shield Mayo logo are trademarks and service marks of MFMER. | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |