com.aspose.email
Class RecurrenceRuleCollection

java.lang.Object
  extended by java.util.AbstractCollection<E>
      extended by java.util.AbstractList<E>
          extended by java.util.ArrayList<RecurrenceRule>
              extended by com.aspose.email.RecurrenceRuleCollection
All Implemented Interfaces:
Serializable, Cloneable, Iterable<RecurrenceRule>, Collection<RecurrenceRule>, List<RecurrenceRule>, RandomAccess

public class RecurrenceRuleCollection
extends ArrayList<RecurrenceRule>

Represents a collection of RecurrenceRule objects.


Corresponds to a collection of RRULE or EXRULE parts of a recurrence pattern.

See Also:
Serialized Form

Method Summary
 RecurrenceRule add()
           Adds a RecurrenceRule to the collection.
 boolean add(RecurrenceRule rule)
           Adds a RecurrenceRule to the collection.
 boolean equals(Object obj)
           
 boolean equals(RecurrenceRuleCollection other)
           
 RecurrenceRule get(int index)
           Gets or sets a RecurrenceRule from the collection.
 int hashCode()
           
 RecurrenceRule set(int index, RecurrenceRule value)
           
 
Methods inherited from class java.util.ArrayList
add, addAll, addAll, clear, clone, contains, ensureCapacity, indexOf, isEmpty, lastIndexOf, remove, remove, 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

add

public RecurrenceRule add()

Adds a RecurrenceRule to the collection.

Returns:
The zero-based index of the newly added item.

add

public boolean add(RecurrenceRule rule)

Adds a RecurrenceRule to the collection.

Specified by:
add in interface Collection<RecurrenceRule>
Specified by:
add in interface List<RecurrenceRule>
Overrides:
add in class ArrayList<RecurrenceRule>
Parameters:
rule - The RecurrenceRule to add.
Returns:
The zero-based index of the newly added item.

get

public RecurrenceRule get(int index)

Gets or sets a RecurrenceRule from the collection.

Specified by:
get in interface List<RecurrenceRule>
Overrides:
get in class ArrayList<RecurrenceRule>

set

public RecurrenceRule set(int index,
                          RecurrenceRule value)
Specified by:
set in interface List<RecurrenceRule>
Overrides:
set in class ArrayList<RecurrenceRule>

equals

public boolean equals(RecurrenceRuleCollection other)

equals

public boolean equals(Object obj)
Specified by:
equals in interface Collection<RecurrenceRule>
Specified by:
equals in interface List<RecurrenceRule>
Overrides:
equals in class AbstractList<RecurrenceRule>

hashCode

public int hashCode()
Specified by:
hashCode in interface Collection<RecurrenceRule>
Specified by:
hashCode in interface List<RecurrenceRule>
Overrides:
hashCode in class AbstractList<RecurrenceRule>


Copyright (c) 2008-2013 Aspose Pty Ltd. All Rights Reserved.