Top Fields Constructors Methods
net.fortuna.ical4j.model

public Class MonthList

extends ArrayList<Month>
Class Inheritance
Imports
net.fortuna.ical4j.util.RegEx, java.time.temporal.ChronoField, .ValueRange, java.util.ArrayList, .Arrays, .Collection, .Optional, java.util.stream.Collectors

Field Summary

Modifier and TypeField and Description
private final ValueRange

Constructor Summary

AccessConstructor and Description
public
public
public
MonthList(String aString)

public
MonthList(String aString, ValueRange valueRange)

public
MonthList(Collection<Month> values, ValueRange valueRange)

Method Summary

Modifier and TypeMethod and Description
public final boolean
add(final Month
element to be appended to this list
month
)

Overrides java.util.ArrayList.add.

Implements java.util.List.add, java.util.Collection.add.

Appends the specified element to the end of this list.

public boolean
addAll(Collection<? extends Month>
collection containing elements to be added to this list
c
)

Overrides java.util.ArrayList.addAll.

Implements java.util.List.addAll, java.util.Collection.addAll.

Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's Iterator.

public final String
toString()

Overrides java.util.AbstractCollection.toString.

Returns a string representation of this collection.

Inherited from java.util.ArrayList:
addaddAlladdFirstaddLastclearclonecontainsensureCapacityequalsforEachgetgetFirstgetLasthashCodeindexOfisEmptyiteratorlastIndexOflistIteratorlistIteratorremoveremoveremoveAllremoveFirstremoveIfremoveLastremoveRangereplaceAllretainAllsetsizesortspliteratorsubListtoArraytoArraytrimToSize

Field Detail

valueRangeback to summary
private final ValueRange valueRange

Constructor Detail

MonthListback to summary
public MonthList()
MonthListback to summary
public MonthList(ValueRange range)
MonthListback to summary
public MonthList(String aString)
MonthListback to summary
public MonthList(String aString, ValueRange valueRange)
MonthListback to summary
public MonthList(Collection<Month> values, ValueRange valueRange)

Method Detail

addback to summary
public final boolean add(final Month month)

Overrides java.util.ArrayList.add.

Implements java.util.List.add, java.util.Collection.add.

Doc from java.util.ArrayList.add.

Appends the specified element to the end of this list.

Parameters
month:Month

element to be appended to this list

Returns:boolean

true (as specified by Collection#add)

Annotations
@Override
addAllback to summary
public boolean addAll(Collection<? extends Month> c)

Overrides java.util.ArrayList.addAll.

Implements java.util.List.addAll, java.util.Collection.addAll.

Doc from java.util.ArrayList.addAll.

Appends all of the elements in the specified collection to the end of this list, in the order that they are returned by the specified collection's Iterator. The behavior of this operation is undefined if the specified collection is modified while the operation is in progress. (This implies that the behavior of this call is undefined if the specified collection is this list, and this list is nonempty.)

Parameters
c:Collection<? extends Month>

collection containing elements to be added to this list

Returns:boolean

true if this list changed as a result of the call

Annotations
@Override
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