V - generic Parameter for Simple-Collectionpublic abstract class AbstractList<V> extends AbstractArray<V>
ALLOWDUPLICATE, ALLOWEMPTYVALUE, BIDI, CASESENSITIVE, flag, MAP, READONLY, REMOVED, VISIBLE| Constructor and Description |
|---|
AbstractList() |
| Modifier and Type | Method and Description |
|---|---|
void |
add(int index,
V element) |
boolean |
add(V value)
Add a Value to internal List and Array if nesessary
|
boolean |
addAll(java.util.Collection<? extends V> c)
This implementation iterates over the specified collection, and adds
each object returned by the iterator to this collection, in turn.
|
boolean |
addAll(int index,
java.util.Collection<? extends V> values) |
V |
ceiling(V element,
boolean sameElement)
Get the next bigger Value of a Set
|
void |
copyEntity(BaseItem target,
int pos) |
protected <ST extends AbstractList<V>> |
filterItems(ST filterCollection,
Condition<?> newValue) |
java.util.ListIterator<V> |
iteratorReverse() |
java.util.ListIterator<V> |
listIterator() |
java.util.ListIterator<V> |
listIterator(int index) |
V |
remove(int index) |
V |
set(int index,
V element) |
BaseItem |
subSet(V fromElement,
V toElement) |
AbstractList<V> |
withList(java.util.Collection<?> values) |
addHashItem, addKeyValue, checkValue, clear, comparator, contains, containsAll, fireProperty, first, flag, get, getByIndex, getKeyByIndex, getNewList, getPositionKey, getValue, hashKey, hasKeyAndPos, indexOf, init, init, init, isAllowDuplicate, isAllowEmptyValue, isCaseSensitive, isComparator, isEmpty, isReadOnly, isVisible, iterator, last, lastIndexOf, move, pack, parseItem, removeAll, removeByObject, reset, retainAll, setAllowEmptyValue, setFlag, setValue, size, subList, toArray, toArray, toString, toString, with, withAllowDuplicate, withAllowEmptyValue, withCaseSensitive, withFlag, without, withSize, withVisiblepublic boolean addAll(java.util.Collection<? extends V> c)
This implementation iterates over the specified collection, and adds each object returned by the iterator to this collection, in turn.
Note that this implementation will throw an UnsupportedOperationException unless add is overridden (assuming the specified collection is non-empty).
c - List of Elements for addingadd(Object)public boolean add(V value)
value - the new Valuepublic java.util.ListIterator<V> listIterator()
public java.util.ListIterator<V> listIterator(int index)
public java.util.ListIterator<V> iteratorReverse()
public AbstractList<V> withList(java.util.Collection<?> values)
withList in class AbstractArray<V>public void copyEntity(BaseItem target, int pos)
public V ceiling(V element, boolean sameElement)
element - Element for checksameElement - boolen for switch return sameElementpublic void add(int index,
V element)
public V remove(int index)
public boolean addAll(int index,
java.util.Collection<? extends V> values)
protected <ST extends AbstractList<V>> ST filterItems(ST filterCollection, Condition<?> newValue)