com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class SplitPartCollection

  • All Implemented Interfaces:
    com.aspose.ms.System.Collections.IEnumerable<SplitPart>, Iterable<SplitPart>


    public class SplitPartCollection
    extends Object
    implements com.aspose.ms.System.Collections.IEnumerable<SplitPart>

    Collection that represents the portions of a task.

    • Method Detail

      • iterator

        public com.aspose.ms.System.Collections.IEnumerator iterator()

        Provides a simple "foreach" style iteration over the collection of SplitParts.

        Specified by:
        iterator in interface com.aspose.ms.System.Collections.IEnumerable<SplitPart>
        Specified by:
        iterator in interface Iterable<SplitPart>
        Returns:
        An IEnumerator.
      • toArray

        public SplitPart[] toArray()

        Copies all parts from the collection to a new array.

        Returns:
        An array of Aspose.Tasks.SplitPart objects.
      • get_Item

        public SplitPart get_Item(int index)

        Retrieves a task's split part at the given index.

        Parameters:
        index - zero-based part index.
        Returns:
        Aspose.Tasks.SplitPart object; null if the index is outside array's boundaries
      • getCount

        public int getCount()

        Gets the number of parts in the collection. Read only int.

        Returns:
        the number of parts in the collection.