com.aspose.email

Interfaces

Classes

Enums

Exceptions

com.aspose.email

Class RecurrenceRuleCollection

  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.Generic.IGenericCollection<RecurrenceRule>, com.aspose.ms.System.Collections.Generic.IGenericEnumerable<RecurrenceRule>, com.aspose.ms.System.Collections.Generic.IGenericList<RecurrenceRule>, com.aspose.ms.System.Collections.IEnumerable<RecurrenceRule>, Iterable<RecurrenceRule>


    public class RecurrenceRuleCollection
    extends com.aspose.ms.System.Collections.ObjectModel.Collection<RecurrenceRule>

    Represents a collection of RecurrenceRule objects.


    <p>Corresponds to a collection of RRULE or EXRULE parts of a recurrence pattern.</p>

    • Method Summary

      Methods 
      Modifier and Type Method and Description
      RecurrenceRule add()
      Adds a RecurrenceRule to the collection.
      int add(RecurrenceRule rule)
      Adds a RecurrenceRule to the collection.
      boolean equals(Object obj)
      Determines whether the specified System.Object is equal to this instance.
      boolean equals(RecurrenceRuleCollection other)
      Determines whether the specified RecurrenceRuleCollection is equal to this instance.
      RecurrenceRule get(int index)
      Gets or sets a RecurrenceRule from the collection.
      int hashCode()
      Returns a hash code for this instance.
      void set(int index, RecurrenceRule value)
      Gets or sets a RecurrenceRule from the collection.
      • Methods inherited from class com.aspose.ms.System.Collections.ObjectModel.Collection

        addItem, clear, containsItem, copyToTArray, get_Item, get_Items, getICollection, getIList, getSyncRoot, indexOfItem, insertItem, isReadOnly, iterator, removeAt, removeItem, set_Item, setItem, size
    • Method Detail

      • add

        public RecurrenceRule add()

        Adds a RecurrenceRule to the collection.

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

        public int 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.

        Parameters:
        index - a int.
        Returns:
        a RecurrenceRule object.
      • set

        public void set(int index,
               RecurrenceRule value)

        Gets or sets a RecurrenceRule from the collection.

        Parameters:
        index - a int.
        value - a RecurrenceRule object.
      • equals

        public boolean equals(RecurrenceRuleCollection other)

        Determines whether the specified RecurrenceRuleCollection is equal to this instance.

        Parameters:
        other - The RecurrenceRuleCollection to compare with this instance.
        Returns:
        true if the specified RecurrenceRuleCollection is equal to this instance; otherwise, false.
      • equals

        public boolean equals(Object obj)

        Determines whether the specified System.Object is equal to this instance.

        Overrides:
        equals in class Object
        Parameters:
        obj - The System.Object to compare with this instance.
        Returns:
        true if the specified System.Object is equal to this instance; otherwise, false.
        Throws:
        T:System.NullReferenceException - The obj parameter is null.
      • hashCode

        public int hashCode()

        Returns a hash code for this instance.

        Overrides:
        hashCode in class Object
        Returns:
        A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.