|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList<Integer>
com.aspose.email.ByNumberCollection
public class ByNumberCollection
Represents a set of months, weeks, days, hours, minutes or seconds in a recurrence rule.
<p>Corresponds to various BYXXX parts such as BYDAY, BYMONTH of a recurrence rule.</p>
<p>Most of the ByXXX properties of {@code RecurrenceRule} are implemented as ByNumberCollection.</p>
Method Summary | |
---|---|
boolean |
add(int value)
Adds a month, week, day, hour, minute or second to the collection. |
void |
add(int[] values)
Adds an array of month, week, day, hour, minute or second to the collection. |
boolean |
contains(int value)
Determines whether the value is in the collection. |
boolean |
equals(ByNumberCollection other)
|
boolean |
equals(Object obj)
|
Integer |
get(int index)
Gets or sets a value in the collection at the specified position. |
int |
hashCode()
|
void |
set(int index,
int value)
|
void |
sort()
Sorts the elements in the collection. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Method Detail |
---|
public boolean add(int value)
Adds a month, week, day, hour, minute or second to the collection.
value
- The value to add.
<p>Throws an exception if the value is outside of the valid range for the time unit of this collection.</p>
public void add(int[] values)
Adds an array of month, week, day, hour, minute or second to the collection.
values
- The values.public boolean contains(int value)
Determines whether the value is in the collection.
value
- The value to find.
public void sort()
Sorts the elements in the collection.
public Integer get(int index)
Gets or sets a value in the collection at the specified position.
get
in interface List<Integer>
get
in class ArrayList<Integer>
public void set(int index, int value)
public boolean equals(ByNumberCollection other)
public boolean equals(Object obj)
equals
in interface Collection<Integer>
equals
in interface List<Integer>
equals
in class AbstractList<Integer>
public int hashCode()
hashCode
in interface Collection<Integer>
hashCode
in interface List<Integer>
hashCode
in class AbstractList<Integer>
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |