Namespace EasyXLS.Util

Class List

  • public class List
    extends System.Collections.ArrayList
    See Also:
    • Constructor Summary

      Constructor Description
      Creates an empty list.
      List​(int size)
      Creates an empty list that has the specified initial capacity.
    • Method Summary

      Modifier and Type Method Description
      void addElement​(System.Object value)
      Adds a new element to the list.
      void clear()
      Removes all the elements from this list
      List Clone()
      Creates a clone of this list
      System.Object elementAt​(int index)
      Returns the element from the specified index
      void insertElementAt​(System.Object value, int index)
      Inserts a new element at the specified index.
      void removeElementAt​(int index)
      Removes from the list the element at the specified position
      void setCapacity​(int capacity)
      Increases the capacity of this list, if necessary, to ensure that it can hold at least the number of components specified by the minimum capacity argument.
      void setElementAt​(System.Object value, int index)
      Sets the element at the specified index to be the specified object The previous element at that position is discarded
      int size()
      Returns the number of elements in this list
    • Constructor Detail

      • List

        public List()
        Creates an empty list.
      • List

        public List​(int size)
        Creates an empty list that has the specified initial capacity.
        size - the initial capacity