com.aspose.network
Class RecurrenceRuleCollection

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

public class RecurrenceRuleCollection
extends ArrayList

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()
           
 void set(int index, RecurrenceRule value)
           
 
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

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.

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
Overrides:
get in class ArrayList

set

public void set(int index,
                RecurrenceRule value)

equals

public boolean equals(RecurrenceRuleCollection other)

equals

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

hashCode

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


Copyright (c) 2002-2011 Aspose Pty Ltd. All Rights Reserved.