Class XWorkList
- All Implemented Interfaces:
- Serializable,- Cloneable,- Iterable,- Collection,- List,- RandomAccess
buildBean method.- Author:
- Patrick Lightbody
- See Also:
- 
Field SummaryFields inherited from class java.util.AbstractListmodCount
- 
Constructor SummaryConstructors
- 
Method SummaryModifier 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.ArrayListclear, 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.AbstractCollectioncontainsAll, toStringMethods inherited from class java.lang.Objectfinalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.CollectionparallelStream, stream, toArrayMethods inherited from interface java.util.ListcontainsAll
- 
Constructor Details- 
XWorkList
- 
XWorkList
 
- 
- 
Method Details- 
addInserts 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. 
- 
addAppends the specified element to the end of this list. This method performs any necessary type conversion. 
- 
addAllAppends 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 interface- Collection
- Specified by:
- addAllin interface- List
- Overrides:
- addAllin class- ArrayList
- 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.
 
- 
addAllInserts 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. 
- 
getReturns 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. 
- 
setReplaces 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
 
-