com.aspose.tasks

Interfaces

Classes

Exceptions

Class BaselineCollection

    • Method Detail

      • add

        public final boolean add​(Baseline item)

        This is the stub implementation of ICollection's Add method, that only throws NotSupportedException

        Specified by:
        add in interface Collection<Baseline>
        Specified by:
        add in interface List<Baseline>
        Overrides:
        add in class AbstractList<Baseline>
        Parameters:
        item - The item to remove.
        Returns:
      • get

        public Baseline get​(int index)
        Returns the baseline at the specified position.
        Specified by:
        get in interface List<Baseline>
        Specified by:
        get in class AbstractList<Baseline>
        Parameters:
        index - index of the element to return.
        Returns:
        the baseline at the specified position.
      • getParentResource

        public final Resource getParentResource()

        Gets the parent Resource for this collection.

        Returns:
        the parent Resource for this collection.
      • size

        public final int size()

        Gets the number of objects contained in this BaselineCollection object.

        Specified by:
        size in interface Collection<Baseline>
        Specified by:
        size in interface List<Baseline>
        Specified by:
        size in class AbstractCollection<Baseline>
        Returns:
        the number of objects contained in this BaselineCollection object.
      • toList

        public final List<Baseline> toList()

        Converts the BaselineCollection object to a list of Baseline objects.

        Returns:
        List of Baseline objects.
      • sort

        public void sort​(Comparator<? super T> c)
        Parameters:
        c -