Top Description Fields Constructors Methods
net.fortuna.ical4j.model

public Class WeekDayList

extends ArrayList<WeekDay>
implements Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable
Imports
net.fortuna.ical4j.util.RegEx, java.io.Serializable, java.util.ArrayList, .Arrays, .List, java.util.stream.Collectors

$Id$ [29-May-2004] Defines a list of days.
Author
Ben Fortuna

Field Summary

Modifier and TypeField and Description
private static final long

Constructor Summary

AccessConstructor and Description
public
WeekDayList()

Default constructor.

public
WeekDayList(WeekDay... weekDays)

public
WeekDayList(final int
the initial capacity of the list
initialCapacity
)

Creates a new instance with the specified initial capacity.

public
WeekDayList(final String
a string representation of a day list
aString
)

Constructor.

Method Summary

Modifier and TypeMethod and Description
public final String
toString()

Overrides java.util.AbstractCollection.toString.

Returns a string representation of this collection.

public static String
Inherited from java.util.ArrayList:
addaddaddAlladdAlladdFirstaddLastclearclonecontainsensureCapacityequalsforEachgetgetFirstgetLasthashCodeindexOfisEmptyiteratorlastIndexOflistIteratorlistIteratorremoveremoveremoveAllremoveFirstremoveIfremoveLastremoveRangereplaceAllretainAllsetsizesortspliteratorsubListtoArraytoArraytrimToSize

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.util.ArrayList.serialVersionUID.

Constructor Detail

WeekDayListback to summary
public WeekDayList()

Default constructor.

WeekDayListback to summary
public WeekDayList(WeekDay... weekDays)
WeekDayListback to summary
public WeekDayList(final int initialCapacity)

Creates a new instance with the specified initial capacity.

Parameters
initialCapacity:int

the initial capacity of the list

WeekDayListback to summary
public WeekDayList(final String aString)

Constructor.

Parameters
aString:String

a string representation of a day list

Method Detail

toStringback to summary
public final String toString()

Overrides java.util.AbstractCollection.toString.

Doc from java.util.AbstractCollection.toString.

Returns a string representation of this collection. The string representation consists of a list of the collection's elements in the order they are returned by its iterator, enclosed in square brackets ("[]"). Adjacent elements are separated by the characters ", " (comma and space). Elements are converted to strings as by String#valueOf(Object).

Returns:String

a string representation of this collection

Annotations
@Override
toStringback to summary
public static String toString(List<WeekDay> list)