com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class GroupCollection

    • Method Detail

      • contains

        public final boolean contains(Group item)
        Returns true if this collection contains the specified item.
        Parameters:
        item - the specified item.
        Returns:
        true if the collection contains the specified item.
      • copyTo

        public final void copyTo(Group[] array,
                                 int arrayIndex)

        Copies the elements of this collection to the specified array, starting at the specified array index.

        Parameters:
        array - the specified one-dimensional array to copy elements to
        arrayIndex - the zero-based index of the specified array at which copying begins.
      • getParentProject

        public final Project getParentProject()

        Gets the parent of the Group object. Read-only Project.

        Returns:
        the parent of the Group object.
      • remove

        public final boolean remove(Group item)

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

        Parameters:
        item - the specified object to remove.
        Returns:
        true if the specified object was successfully removed from this collection; otherwise, false.
      • size

        public final int size()

        Gets the number of elements contained in this collection.

        Specified by:
        size in interface Collection<Group>
        Specified by:
        size in class AbstractCollection<Group>
        Returns:
        the number of elements contained in this collection.
      • toList

        public final List<Group> toList()

        Converts a group collection to a list of Group objects.

        Returns:
        Generic list of Group objects.