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) |
E |
move(int newPosition,
int oldPosition) |
E |
setUnique(int index,
E object)
Sets the object without verifying uniqueness.
|
add, addAll, get, iterator, listIterator, remove, set
add, clear, equals, hashCode, indexOf, lastIndexOf, listIterator, removeRange, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public boolean addAllUnique(java.util.Collection<? extends E> collection)
InternalEList
addAllUnique
in interface InternalEList<E>
public boolean addAllUnique(int index, java.util.Collection<? extends E> collection)
InternalEList
addAllUnique
in interface InternalEList<E>
public void addUnique(E object)
InternalEList
addUnique
in interface InternalEList<E>
public void addUnique(int index, E object)
InternalEList
addUnique
in interface InternalEList<E>
public NotificationChain basicAdd(E object, NotificationChain notifications)
InternalEList
basicAdd
in interface InternalEList<E>
public E basicGet(int index)
InternalEList
basicGet
in interface InternalEList<E>
public java.util.Iterator<E> basicIterator()
InternalEList
basicIterator
in interface InternalEList<E>
public java.util.List<E> basicList()
InternalEList
basicList
in interface InternalEList<E>
public java.util.ListIterator<E> basicListIterator()
InternalEList
basicListIterator
in interface InternalEList<E>
public java.util.ListIterator<E> basicListIterator(int index)
InternalEList
basicListIterator
in interface InternalEList<E>
public NotificationChain basicRemove(java.lang.Object object, NotificationChain notifications)
InternalEList
basicRemove
in interface InternalEList<E>
public boolean basicContains(java.lang.Object object)
InternalEList
basicContains
in interface InternalEList<E>
public boolean basicContainsAll(java.util.Collection<?> collection)
InternalEList
basicContainsAll
in interface InternalEList<E>
public int basicIndexOf(java.lang.Object object)
InternalEList
basicIndexOf
in interface InternalEList<E>
public int basicLastIndexOf(java.lang.Object object)
InternalEList
basicLastIndexOf
in interface InternalEList<E>
public java.lang.Object[] basicToArray()
InternalEList
basicToArray
in interface InternalEList<E>
public <T> T[] basicToArray(T[] array)
InternalEList
basicToArray
in interface InternalEList<E>
public E setUnique(int index, E object)
InternalEList
setUnique
in interface InternalEList<E>
public void move(int newPosition, E object)
public E move(int newPosition, int oldPosition)
Copyright © 2022. Licensed under the Eclipse Public License v2.0. All rights reserved.
Submit a bug or feature