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) |
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.Object
public 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()