public abstract class AbstractList<V> extends AbstractArray<V> implements java.lang.Iterable<V>
ALLOWDUPLICATE, ALLOWEMPTYVALUE, BIDI, BIG_KEY, BIG_VALUE, CASESENSITIVE, DELETED, elements, emptyArray, flag, MAP, MAXDELETED, MAXUSEDLIST, MINHASHINGSIZE, MINSIZE, MINUSEDLIST, READONLY, SIZE_BIG, SMALL_KEY, SMALL_VALUE, 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) |
void |
copyEntity(BaseItem target,
int pos) |
java.util.ListIterator<V> |
iteratorReverse() |
int |
lastIndexOf(java.lang.Object o) |
java.util.ListIterator<V> |
listIterator() |
java.util.ListIterator<V> |
listIterator(int index) |
V |
remove(int index) |
int |
removeItemByObject(V value) |
V |
set(int index,
V element) |
BaseItem |
subSet(V fromElement,
V toElement) |
<ST extends AbstractList<V>> |
with(V... values) |
AbstractList<V> |
withAll(java.lang.Object... values) |
AbstractList<V> |
withList(java.util.Collection<?> values) |
addFlag, addHashItem, addKey, addKeyValue, checkValue, clear, comparator, contains, containsAll, fireProperty, first, flag, get, getByIndex, getKeyByIndex, getLastPositionKey, getNewList, getPositionKey, getPositionValue, getSignalFlag, getValueItem, hashKey, hasKey, hasKeyAndPos, indexOf, init, init, init, isAllowDuplicate, isAllowEmptyValue, isCaseSensitive, isComparator, isEmpty, isReadOnly, isVisible, iterator, last, lastindexOf, move, pack, removeAll, removeByObject, retainAll, setValue, size, subList, toArray, toArray, withAllowDuplicate, withAllowEmptyValue, withCaseSensitive, withFlag, without, 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).
java.lang.UnsupportedOperationExceptionjava.lang.ClassCastExceptionjava.lang.NullPointerExceptionjava.lang.IllegalArgumentExceptionjava.lang.IllegalStateExceptionadd(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 <ST extends AbstractList<V>> ST with(V... values)
public AbstractList<V> withAll(java.lang.Object... values)
withAll in interface BaseItemwithAll in class AbstractArray<V>public AbstractList<V> withList(java.util.Collection<?> values)
withList in class AbstractArray<V>public void copyEntity(BaseItem target, int pos)
public int removeItemByObject(V value)
public int lastIndexOf(java.lang.Object o)
public void add(int index,
V element)
public V remove(int index)
public boolean addAll(int index,
java.util.Collection<? extends V> values)