V - generic Parameter for Simple-CollectionBaseItem, java.lang.Cloneable, java.lang.Iterable<V>MapEntity, PropertyList, SimpleList, SimpleSetpublic abstract class AbstractList<V> extends AbstractArray<V> implements java.lang.Iterable<V>, java.lang.Cloneable
ALLOWDUPLICATE, ALLOWEMPTYVALUE, BIDI, CASESENSITIVE, flag, MAP, READONLY, REMOVED, VISIBLE| Constructor | Description |
|---|---|
AbstractList() |
| Modifier and Type | Method | Description |
|---|---|---|
void |
add(int index,
V element) |
|
boolean |
addAll(int index,
java.util.Collection<? extends V> values) |
|
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.
|
V |
ceiling(V element,
boolean sameElement) |
Get the next bigger Value of a Set
|
void |
copyEntity(BaseItem target,
int pos) |
|
boolean |
equals(java.lang.Object obj) |
|
<ST extends AbstractList<V>> |
filter(Condition<V> newValue) |
|
protected <ST extends AbstractList<V>> |
filterItems(ST filterCollection,
Condition<?> newValue) |
|
int |
hashCode() |
|
java.util.Iterator<V> |
iterator() |
|
java.util.Iterator<V> |
iterator(boolean checkPointer) |
|
java.util.ListIterator<V> |
iteratorReverse() |
|
java.util.ListIterator<V> |
listIterator() |
|
java.util.ListIterator<V> |
listIterator(int index) |
|
V |
lower(V element,
boolean sameElement) |
Get the before lower Value of a Set
|
V |
remove(int index) |
|
V |
set(int index,
V element) |
|
BaseItem |
subSet(V fromElement,
V toElement) |
|
AbstractList<V> |
withList(java.util.Collection<?> values) |
add, addHashItem, addKeyValue, checkValue, clear, comparator, contains, containsAll, containsAll, fireProperty, first, flag, get, getByIndex, getKeyByIndex, getNewList, getPositionKey, getTypClass, getValue, hashKey, hasKeyAndPos, indexOf, init, init, init, isAllowDuplicate, isAllowEmptyValue, isCaseSensitive, isComparator, isEmpty, isReadOnly, isVisible, last, lastIndexOf, move, pack, parseItem, removeAll, removeByIndex, removeByObject, removeItem, replaceAllValues, reset, reset, retainAll, setAllowEmptyValue, setFlag, setValue, size, subList, toArray, toArray, toString, toString, with, withAllowDuplicate, withAllowEmptyValue, withCaseSensitive, withFlag, without, withSize, withType, 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 addingAbstractArray.add(Object...)public 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 - boolean for switch return sameElementpublic V lower(V element, boolean sameElement)
element - Element for checksameElement - boolean 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)
public <ST extends AbstractList<V>> ST filter(Condition<V> newValue)
public java.util.Iterator<V> iterator()
iterator in interface java.lang.Iterable<V>public java.util.Iterator<V> iterator(boolean checkPointer)
public boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object