|
ActiveXLS v6.4.0 API Documentation | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |
System.ObjectSystem.Collections.ArrayList
ActiveXLS.Util.List
Constructor Summary | |
List()
Creates an empty list. |
|
List(int size)
Creates an empty list that has the specified initial capacity. |
Method Summary | |
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 |
public List()
public List(int size)
size
- the initial capacityMethod Detail |
public int size()
addElement(System.Object)
,
insertElementAt(System.Object, int)
,
removeElementAt(int)
public void addElement(System.Object value)
value
- the element to be addedinsertElementAt(System.Object, int)
,
removeElementAt(int)
public System.Object elementAt(int index)
index
- the index of the element
addElement(System.Object)
,
insertElementAt(System.Object, int)
,
removeElementAt(int)
,
size()
public void insertElementAt(System.Object value, int index)
value
- the element to be insertedindex
- the index where to insert the new elementaddElement(System.Object)
,
removeElementAt(int)
,
size()
public void removeElementAt(int index)
index
- the index of the element to be removedaddElement(System.Object)
,
insertElementAt(System.Object, int)
,
size()
public void setElementAt(System.Object value, int index)
value
- the element to be setindex
- the specified indexaddElement(System.Object)
,
insertElementAt(System.Object, int)
,
removeElementAt(int)
,
size()
public void clear()
public List Clone()
public void setCapacity(int capacity)
capacity
- the capacity of the array
|
Copyright 2009 On Time Computing Solutions | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | CONST | CONSTR | METHOD | DETAIL: CONST | CONSTR | METHOD |