Class XWorkList
- All Implemented Interfaces:
Serializable,Cloneable,Iterable,Collection,List,RandomAccess
buildBean method.- Author:
- Patrick Lightbody
- See Also:
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidInserts the specified element at the specified position in this list.booleanAppends the specified element to the end of this list.booleanaddAll(int index, Collection collection) Inserts all of the elements in the specified Collection into this list, starting at the specified position.booleanaddAll(Collection collection) 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.booleanget(int index) Returns the element at the specified position in this list.Replaces the element at the specified position in this list with the specified element.Methods inherited from class java.util.ArrayList
clear, clone, ensureCapacity, equals, forEach, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, size, sort, spliterator, subList, toArray, toArray, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll
-
Constructor Details
-
XWorkList
-
XWorkList
-
-
Method Details
-
add
Inserts the specified element at the specified position in this list. Shifts the element currently at that position (if any) and any subsequent elements to the right (adds one to their indices).
This method is guaranteed to work since it will create empty beans to fill the gap between the current list size and the requested index to enable the element to be set. This method also performs any necessary type conversion.
-
add
Appends the specified element to the end of this list.
This method performs any necessary type conversion.
-
addAll
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. The behavior of this operation is undefined if the specified Collection is modified while the operation is in progress. (This implies that the behavior of this call is undefined if the specified Collection is this list, and this list is nonempty.)
This method performs any necessary type conversion.
- Specified by:
addAllin interfaceCollection- Specified by:
addAllin interfaceList- Overrides:
addAllin classArrayList- Parameters:
collection- the elements to be inserted into this list.- Returns:
- true if this list changed as a result of the call.
- Throws:
NullPointerException- if the specified collection is null.
-
addAll
Inserts all of the elements in the specified Collection into this list, starting at the specified position. Shifts the element currently at that position (if any) and any subsequent elements to the right (increases their indices). The new elements will appear in the list in the order that they are returned by the specified Collection's iterator.
This method is guaranteed to work since it will create empty beans to fill the gap between the current list size and the requested index to enable the element to be set. This method also performs any necessary type conversion.
-
get
Returns the element at the specified position in this list.
An object is guaranteed to be returned since it will create empty beans to fill the gap between the current list size and the requested index.
-
set
Replaces the element at the specified position in this list with the specified element.
This method is guaranteed to work since it will create empty beans to fill the gap between the current list size and the requested index to enable the element to be set. This method also performs any necessary type conversion.
-
contains
-