com.groupdocs.watermark.common

Class RemoveOnlyListBase<T>

    • Constructor Detail

      • RemoveOnlyListBase

        protected RemoveOnlyListBase()

        Initializes a new instance of the RemoveOnlyListBase{T} class.

    • Method Detail

      • isReadOnly

        public boolean isReadOnly()

        Gets a value indicating whether the collection is read-only.

        Returns:
        Returns true if the collection is read-only; otherwise, false.
      • clear

        public final void clear()

        Removes all items from the collection.

      • remove

        public final boolean remove(T item)

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

        Parameters:
        item - The item to remove from the collection.
        Returns:
        True if item was successfully removed; otherwise false.
      • removeAt

        public final void removeAt(int index)

        Removes the item at the specified index.

        Parameters:
        index - The zero-based index of the item to remove.