net.fortuna.ical4j.model
Class LocationTypeList
java.lang.Object
net.fortuna.ical4j.model.LocationTypeList
- Serializable
public class LocationTypeList
extends java.lang.Object
implements Serializable
$Id LocationTypeList.java $ [23-Apr-2004]
Defines a list of iCalendar location types.
boolean | add(String locationType) - Add a location type to the list.
|
boolean | isEmpty()
|
Iterator | iterator()
|
boolean | remove(String locationType) - Remove a locationType from the list.
|
int | size()
|
String | toString()
|
LocationTypeList
public LocationTypeList()
Default constructor.
LocationTypeList
public LocationTypeList(String aValue)
Parses the specified string representation to create
a list of categories.
aValue
- a string representation of a list of
categories
add
public final boolean add(String locationType)
Add a location type to the list.
List.add(java.lang.Object)
isEmpty
public final boolean isEmpty()
- boolean indicates if the list is empty
iterator
public final Iterator iterator()
remove
public final boolean remove(String locationType)
Remove a locationType from the list.
- true if the list contained the specified category
List.remove(java.lang.Object)
size
public final int size()
- the number of categories in the list
toString
public final String toString()
java.util.AbstractCollection.toString()