public class PrioritizedDefinitionNames
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
PrioritizedDefinitionNames() |
Modifier and Type | Method and Description |
---|---|
void |
addName(int index,
java.lang.String vName) |
void |
addName(java.lang.String vName) |
java.util.Enumeration<? extends java.lang.String> |
enumerateName()
Method enumerateName.
|
java.lang.String[] |
getName()
Method getName.Returns the contents of the collection in an
Array.
|
java.lang.String |
getName(int index)
Method getName.
|
int |
getNameCount()
Method getNameCount.
|
java.util.Iterator<? extends java.lang.String> |
iterateName()
Method iterateName.
|
void |
removeAllName() |
boolean |
removeName(java.lang.String vName)
Method removeName.
|
java.lang.String |
removeNameAt(int index)
Method removeNameAt.
|
void |
setName(int index,
java.lang.String vName) |
void |
setName(java.lang.String[] vNameArray) |
public void addName(java.lang.String vName) throws java.lang.IndexOutOfBoundsException
vName
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void addName(int index, java.lang.String vName) throws java.lang.IndexOutOfBoundsException
index
- vName
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.util.Enumeration<? extends java.lang.String> enumerateName()
public java.lang.String getName(int index) throws java.lang.IndexOutOfBoundsException
index
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic java.lang.String[] getName()
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 getNameCount()
public java.util.Iterator<? extends java.lang.String> iterateName()
public void removeAllName()
public boolean removeName(java.lang.String vName)
vName
- public java.lang.String removeNameAt(int index)
index
- public void setName(int index, java.lang.String vName) throws java.lang.IndexOutOfBoundsException
index
- vName
- java.lang.IndexOutOfBoundsException
- if the index
given is outside the bounds of the collectionpublic void setName(java.lang.String[] vNameArray)
vNameArray
-