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