Package net.fortuna.ical4j.model
Class LocationTypeList
java.lang.Object
net.fortuna.ical4j.model.LocationTypeList
- All Implemented Interfaces:
Serializable,Iterable<String>
$Id LocationTypeList.java $ [23-Apr-2004]
Defines a list of iCalendar location types.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.LocationTypeList(String aValue) Parses the specified string representation to create a list of categories.LocationTypeList(LocationType... locationTypes) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
LocationTypeList
public LocationTypeList()Default constructor. -
LocationTypeList
Parses the specified string representation to create a list of categories.- Parameters:
aValue- a string representation of a list of categories
-
LocationTypeList
-
-
Method Details
-
toString
-
add
Add a location type to the list.- Parameters:
locationType- the location type to add- Returns:
- true if the object is added successfully
- See Also:
-
isEmpty
public final boolean isEmpty()- Returns:
- boolean indicates if the list is empty
- See Also:
-
iterator
-
remove
Remove a locationType from the list.- Parameters:
locationType- the location type to remove- Returns:
- true if the list contained the specified category
- See Also:
-
size
public final int size()- Returns:
- the number of categories in the list
- See Also:
-