com.groupdocs.watermark

Interfaces

Classes

Exceptions

com.groupdocs.watermark

Class ReadOnlyListBase<T>

    • Method Detail

      • getCount

        public int getCount()

        Gets the number of elements contained in the collection.

        Returns:
        The number of elements contained in the collection.
      • get_Item

        public T get_Item(int index)

        Gets the element at the specified index in the collection.

        Parameters:
        index - The zero-based index of the element to get.
        Returns:
        The element at the specified index.
      • contains

        public boolean contains(T item)

        Determines whether the collection contains a specific item.

        Parameters:
        item - The item to locate in the collection.
        Returns:
        True if the item is found in the collection; otherwise, false.
      • indexOf

        public int indexOf(T item)

        Determines the index of a specific item in the collection.

        Parameters:
        item - The item to locate in the collection.
        Returns:
        The index of item if found in the collection; otherwise, -1.
      • iterator

        public Iterator<T> iterator()

        Returns an enumerator that iterates through a collection.

        Returns:
        An IEnumerator{T} object that can be used to iterate through the collection.