public class XWorkList extends ArrayList
buildBean
method.modCount
Constructor and Description |
---|
XWorkList(Class clazz) |
XWorkList(Class clazz,
int initialCapacity) |
Modifier and Type | Method and Description |
---|---|
void |
add(int index,
Object element)
Inserts the specified element at the specified position in this list.
|
boolean |
add(Object element)
Appends the specified element to the end of this list.
|
boolean |
addAll(Collection c)
Appends all of the elements in the specified Collection to the end of this list, in the order
that they are returned by the specified Collection's Iterator.
|
boolean |
addAll(int index,
Collection c)
Inserts all of the elements in the specified Collection into this list, starting at the
specified position.
|
boolean |
contains(Object element) |
Object |
get(int index)
Returns the element at the specified position in this list.
|
Object |
set(int index,
Object element)
Replaces the element at the specified position in this list with the specified element.
|
clear, clone, ensureCapacity, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, size, subList, toArray, toArray, trimToSize
equals, hashCode
containsAll, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
containsAll, equals, hashCode
public XWorkList(Class clazz)
public XWorkList(Class clazz, int initialCapacity)
public void add(int index, Object element)
public boolean add(Object element)
public boolean addAll(Collection c)
addAll
in interface Collection
addAll
in interface List
addAll
in class ArrayList
c
- the elements to be inserted into this list.NullPointerException
- if the specified collection is null.public boolean addAll(int index, Collection c)
public Object get(int index)
public Object set(int index, Object element)
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.