Module ical4j.core

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:
  • Constructor Details

    • 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 Details

    • toString

      public final String toString()
      Deprecated.
      Overrides:
      toString in class Object
    • 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:
    • isEmpty

      public final boolean isEmpty()
      Deprecated.
      Returns:
      boolean indicates if the list is empty
      See Also:
    • iterator

      public final Iterator<String> iterator()
      Deprecated.
      Specified by:
      iterator in interface Iterable<String>
      Returns:
      an iterator
      See Also:
    • 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:
    • size

      public final int size()
      Deprecated.
      Returns:
      the number of categories in the list
      See Also: