public class LocationTypeList
extends java.lang.Object
implements java.io.Serializable, java.lang.Iterable<java.lang.String>
Constructor and Description |
---|
LocationTypeList()
Default constructor.
|
LocationTypeList(java.lang.String aValue)
Parses the specified string representation to create a list of categories.
|
Modifier and Type | Method and Description |
---|---|
boolean |
add(java.lang.String locationType)
Add a location type to the list.
|
boolean |
isEmpty() |
java.util.Iterator<java.lang.String> |
iterator() |
boolean |
remove(java.lang.String locationType)
Remove a locationType from the list.
|
int |
size() |
java.lang.String |
toString() |
public LocationTypeList()
public LocationTypeList(java.lang.String aValue)
aValue
- a string representation of a list of categoriespublic final java.lang.String toString()
toString
in class java.lang.Object
public final boolean add(java.lang.String locationType)
locationType
- the location type to addList.add(java.lang.Object)
public final boolean isEmpty()
List.isEmpty()
public final java.util.Iterator<java.lang.String> iterator()
iterator
in interface java.lang.Iterable<java.lang.String>
List.iterator()
public final boolean remove(java.lang.String locationType)
locationType
- the location type to removeList.remove(java.lang.Object)
public final int size()
List.size()