public abstract class AbstractSequentialInternalEList<E> extends java.util.AbstractSequentialList<E> implements InternalEList<E>
InternalEList.
Clients must override either basicList() or basicListIterator(int)
since these two methods delegate to each other and unless that cycle is broken will lead to stack overflow.InternalEList.Unsettable<E>| Modifier | Constructor and Description |
|---|---|
protected |
AbstractSequentialInternalEList() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAllUnique(java.util.Collection<? extends E> collection)
Adds the objects without verifying uniqueness.
|
boolean |
addAllUnique(int index,
java.util.Collection<? extends E> collection)
Adds the objects without verifying uniqueness.
|
void |
addUnique(E object)
Adds the object without verifying uniqueness.
|
void |
addUnique(int index,
E object)
Adds the object without verifying uniqueness.
|
NotificationChain |
basicAdd(E object,
NotificationChain notifications)
Adds the object without updating the inverse.
|
boolean |
basicContains(java.lang.Object object)
Returns whether the object is contained within the list of unresolved values.
|
boolean |
basicContainsAll(java.util.Collection<?> collection)
Returns whether each object in the collection is contained within the list of unresolved values.
|
E |
basicGet(int index)
Returns the unresolved value.
|
int |
basicIndexOf(java.lang.Object object)
Returns the index of the object within the list of unresolved values.
|
java.util.Iterator<E> |
basicIterator()
Returns an iterator that yields unresolved values.
|
int |
basicLastIndexOf(java.lang.Object object)
Returns the last index of the object within the list of unresolved values.
|
java.util.List<E> |
basicList()
Returns an unmodifiable list that yields unresolved values.
|
java.util.ListIterator<E> |
basicListIterator()
Returns a list iterator that yields unresolved values.
|
java.util.ListIterator<E> |
basicListIterator(int index)
Returns a list iterator that yields unresolved values.
|
NotificationChain |
basicRemove(java.lang.Object object,
NotificationChain notifications)
Removes the object with without updating the inverse.
|
java.lang.Object[] |
basicToArray()
Returns the array with unresolved values.
|
<T> T[] |
basicToArray(T[] array)
Returns the array with unresolved values.
|
void |
move(int newPosition,
E object)
Moves the object to the new position, if is in the list.
|
E |
move(int newPosition,
int oldPosition)
Moves the object from the old position to the new position.
|
E |
setUnique(int index,
E object)
Sets the object without verifying uniqueness.
|
add, addAll, get, iterator, listIterator, remove, setadd, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subListaddAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toStringpublic boolean addAllUnique(java.util.Collection<? extends E> collection)
InternalEListaddAllUnique in interface InternalEList<E>public boolean addAllUnique(int index,
java.util.Collection<? extends E> collection)
InternalEListaddAllUnique in interface InternalEList<E>public void addUnique(E object)
InternalEListaddUnique in interface InternalEList<E>public void addUnique(int index,
E object)
InternalEListaddUnique in interface InternalEList<E>public NotificationChain basicAdd(E object, NotificationChain notifications)
InternalEListbasicAdd in interface InternalEList<E>public E basicGet(int index)
InternalEListbasicGet in interface InternalEList<E>public java.util.Iterator<E> basicIterator()
InternalEListbasicIterator in interface InternalEList<E>public java.util.List<E> basicList()
InternalEListbasicList in interface InternalEList<E>public java.util.ListIterator<E> basicListIterator()
InternalEListbasicListIterator in interface InternalEList<E>public java.util.ListIterator<E> basicListIterator(int index)
InternalEListbasicListIterator in interface InternalEList<E>public NotificationChain basicRemove(java.lang.Object object, NotificationChain notifications)
InternalEListbasicRemove in interface InternalEList<E>public boolean basicContains(java.lang.Object object)
InternalEListbasicContains in interface InternalEList<E>public boolean basicContainsAll(java.util.Collection<?> collection)
InternalEListbasicContainsAll in interface InternalEList<E>public int basicIndexOf(java.lang.Object object)
InternalEListbasicIndexOf in interface InternalEList<E>public int basicLastIndexOf(java.lang.Object object)
InternalEListbasicLastIndexOf in interface InternalEList<E>public java.lang.Object[] basicToArray()
InternalEListbasicToArray in interface InternalEList<E>public <T> T[] basicToArray(T[] array)
InternalEListbasicToArray in interface InternalEList<E>public E setUnique(int index, E object)
InternalEListsetUnique in interface InternalEList<E>public void move(int newPosition,
E object)
EList