com.groupdocs.search

Class DateFormatCollection

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


    public class DateFormatCollection
    extends Object
    implements com.aspose.ms.System.Collections.Generic.IGenericCollection<DateFormat>

    Represents a collection of DateFormat objects.

    • Method Detail

      • addItem

        public final void addItem(DateFormat item)

        Adds an item to the collection.

        Specified by:
        addItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DateFormat>
        Parameters:
        item - The item to add to the collection.
      • clear

        public final void clear()

        Removes all items from the collection.

        Specified by:
        clear in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DateFormat>
      • containsItem

        public final boolean containsItem(DateFormat item)

        Determines whether the collection contains a specific value.

        Specified by:
        containsItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DateFormat>
        Parameters:
        item - The item to locate in the collection.
        Returns:
        true if item is found in the collection; otherwise, false.
      • copyToTArray

        public final void copyToTArray(DateFormat[] array,
                        int arrayIndex)

        Copies the elements of the collection to an Array, starting at a particular Array index.

        Specified by:
        copyToTArray in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DateFormat>
        Parameters:
        array - The one-dimensional Array that is the destination of the elements copied from collection.
        arrayIndex - The zero-based index in array at which copying begins.
      • size

        public final int size()

        Gets the number of elements contained in the collection.

        Value: The number of elements contained in the collection.
        Specified by:
        size in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DateFormat>
      • isReadOnly

        public final boolean isReadOnly()

        Gets a value indicating whether the collection is read-only.

        Value: true if the collection is read-only; otherwise, false.
        Specified by:
        isReadOnly in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DateFormat>
      • removeItem

        public final boolean removeItem(DateFormat item)

        Removes the first occurrence of a specific object from the collection.

        Specified by:
        removeItem in interface com.aspose.ms.System.Collections.Generic.IGenericCollection<DateFormat>
        Parameters:
        item - The item to remove from the collection.
        Returns:
        true if item was successfully removed from the collection; otherwise, false. This method also returns false if item is not found in the collection.
      • iterator

        public final com.aspose.ms.System.Collections.Generic.IGenericEnumerator<DateFormat> iterator()

        Returns an enumerator that iterates through the collection.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.Generic.IGenericEnumerable<DateFormat>
        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<DateFormat>
        Specified by:
        iterator in interface Iterable<DateFormat>
        Returns:
        An enumerator that can be used to iterate through the collection.
      • iterator_Rename_Namesake

        public final com.aspose.ms.System.Collections.IEnumerator iterator_Rename_Namesake()

        Returns an enumerator that iterates through the collection.

        Returns:
        An enumerator that can be used to iterate through the collection.