Package net.fortuna.ical4j.model
Class LocationTypeList
- java.lang.Object
-
- net.fortuna.ical4j.model.LocationTypeList
-
- All Implemented Interfaces:
Serializable
,Iterable<String>
@Deprecated public class LocationTypeList extends Object implements Serializable, Iterable<String>
Deprecated.replaced with standard Java collections.$Id LocationTypeList.java $ [23-Apr-2004] Defines a list of iCalendar location types.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description LocationTypeList()
Deprecated.Default constructor.LocationTypeList(String aValue)
Deprecated.Parses the specified string representation to create a list of categories.LocationTypeList(LocationType... locationTypes)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
add(String locationType)
Deprecated.Add a location type to the list.boolean
isEmpty()
Deprecated.Iterator<String>
iterator()
Deprecated.boolean
remove(String locationType)
Deprecated.Remove a locationType from the list.int
size()
Deprecated.String
toString()
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
LocationTypeList
public LocationTypeList()
Deprecated.Default constructor.
-
LocationTypeList
public LocationTypeList(String aValue)
Deprecated.Parses the specified string representation to create a list of categories.- Parameters:
aValue
- a string representation of a list of categories
-
LocationTypeList
public LocationTypeList(LocationType... locationTypes)
Deprecated.
-
-
Method Detail
-
add
public final boolean add(String locationType)
Deprecated.Add a location type to the list.- Parameters:
locationType
- the location type to add- Returns:
- true if the object is added successfully
- See Also:
List.add(java.lang.Object)
-
isEmpty
public final boolean isEmpty()
Deprecated.- Returns:
- boolean indicates if the list is empty
- See Also:
List.isEmpty()
-
iterator
public final Iterator<String> iterator()
Deprecated.- Specified by:
iterator
in interfaceIterable<String>
- Returns:
- an iterator
- See Also:
List.iterator()
-
remove
public final boolean remove(String locationType)
Deprecated.Remove a locationType from the list.- Parameters:
locationType
- the location type to remove- Returns:
- true if the list contained the specified category
- See Also:
List.remove(java.lang.Object)
-
size
public final int size()
Deprecated.- Returns:
- the number of categories in the list
- See Also:
List.size()
-
-