com.aspose.tasks

Interfaces

Classes

Exceptions

com.aspose.tasks

Class ReadOnlyCollectionBase<T>

    • Method Detail

      • get

        public T get(int index)
        Specified by:
        get in interface List<T>
        Specified by:
        get in class AbstractList<T>
        Parameters:
        index -
        Returns:
      • set_Item

        public final void set_Item(int index,
                                   T value)
      • size

        public final int size()

        Gets the number of objects contained in the object.


        Read only int.
        Specified by:
        size in interface Collection<T>
        Specified by:
        size in interface List<T>
        Specified by:
        size in class AbstractCollection<T>
        Returns:
        the number of objects contained in the object.
      • toList

        public final List<T> toList()
        Converts the collection object to a list of objects.
        Returns:
        List of objects.
      • sort

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