Packages

 

com.aspose.psd

Interfaces

Classes

Exceptions

com.aspose.psd

Class NonGenericList

    • Constructor Detail

      • NonGenericList

        public NonGenericList(List list)

        Initializes a new instance of the NonGenericList class.

        Parameters:
        list - The list - container of objects.
    • Method Detail

      • getList

        public List getList()
      • addItem

        public int addItem(Object value)

        Adds an item to the System.Collections.IList.

        Parameters:
        value - The System.Object to add to the System.Collections.IList.
        Returns:
        The position into which the new element was inserted.
      • clear

        public void clear()

        Removes all items from the System.Collections.IList.

      • contains

        public boolean contains(Object value)

        Determines whether the System.Collections.IList contains a specific value.

        Parameters:
        value - The System.Object to locate in the System.Collections.IList.
        Returns:
        true if the System.Object is found in the System.Collections.IList; otherwise, false.
      • indexOf

        public int indexOf(Object value)

        Determines the index of a specific item in the System.Collections.IList.

        Parameters:
        value - The System.Object to locate in the System.Collections.IList.
        Returns:
        The index of value if found in the list; otherwise, -1.
      • insertItem

        public void insertItem(int index,
                               Object value)

        Inserts an item to the System.Collections.IList at the specified index.

        Parameters:
        index - The zero-based index at which value should be inserted.
        value - The System.Object to insert into the System.Collections.IList.
      • get

        public Object get(int index)

        Gets the element at the specified index.

        Parameters:
        index - The index.
        Returns:
        the element at the specified index.
      • set

        public Object set(int index,
                          Object value)

        Sets the element at the specified index.

        Parameters:
        index - The index.
      • removeItem

        public void removeItem(Object value)

        Removes the first occurrence of a specific object from the System.Collections.IList.

        Parameters:
        value - The System.Object to remove from the System.Collections.IList.
      • removeAt

        public void removeAt(int index)

        Removes the System.Collections.IList item at the specified index.

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

        public int size()

        Gets the number of elements contained in the System.Collections.ICollection.

      • isEmpty

        public boolean isEmpty()
      • toArray

        public Object[] toArray()
      • add

        public boolean add(Object o)
      • remove

        public boolean remove(Object o)
      • containsAll

        public boolean containsAll(Collection c)
      • addAll

        public boolean addAll(int index,
                              Collection c)
      • removeAll

        public boolean removeAll(Collection c)
      • retainAll

        public boolean retainAll(Collection c)
      • add

        public void add(int index,
                        Object element)
      • remove

        public Object remove(int index)
      • lastIndexOf

        public int lastIndexOf(Object o)
      • listIterator

        public ListIterator listIterator(int index)
      • subList

        public List subList(int fromIndex,
                            int toIndex)
      • iterator

        public Iterator iterator()

        Returns an enumerator that iterates through a collection.

        Returns:
        An System.Collections.IEnumerator object that can be used to iterate through the collection.