public class TextList
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
TextList()
Default constructor.
|
TextList(java.lang.String aValue)
Parses the specified string representation to create a list of categories.
|
TextList(java.lang.String[] textValues) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
add(java.lang.String text)
Add an address to the list.
|
boolean |
isEmpty() |
java.util.Iterator<java.lang.String> |
iterator() |
boolean |
remove(java.lang.String text)
Remove a text from the list.
|
int |
size() |
java.lang.String |
toString() |
public TextList()
public TextList(java.lang.String aValue)
aValue - a string representation of a list of categoriespublic TextList(java.lang.String[] textValues)
textValues - an array of text valuespublic final java.lang.String toString()
toString in class java.lang.Objectpublic final boolean add(java.lang.String text)
text - the category to addList.add(java.lang.Object)public final boolean isEmpty()
List.isEmpty()public final java.util.Iterator<java.lang.String> iterator()
List.iterator()public final boolean remove(java.lang.String text)
text - the text element to removeList.remove(java.lang.Object)public final int size()
List.size()