public class BasicInternalEList<E> extends BasicEList<E> implements InternalEList<E>
basic list
that implements InternalEList
.Modifier and Type | Class and Description |
---|---|
static class |
BasicInternalEList.Unsettable<E> |
BasicEList.BasicIndexOutOfBoundsException, BasicEList.EIterator<E1>, BasicEList.EListIterator<E1>, BasicEList.FastCompare<E>, BasicEList.NonResolvingEIterator<E1>, BasicEList.NonResolvingEListIterator<E1>, BasicEList.UnmodifiableEList<E>
Modifier and Type | Field and Description |
---|---|
protected java.lang.Class<?> |
dataClass |
data, size
Constructor and Description |
---|
BasicInternalEList(java.lang.Class<?> dataClass) |
BasicInternalEList(java.lang.Class<?> dataClass,
java.util.Collection<? extends E> collection) |
BasicInternalEList(java.lang.Class<?> dataClass,
int initialCapacity) |
BasicInternalEList(java.lang.Class<?> dataClass,
int size,
java.lang.Object[] data) |
Modifier and Type | Method and Description |
---|---|
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.
|
int |
basicIndexOf(java.lang.Object object)
Returns the index of the object within the list of unresolved values.
|
java.util.Iterator<E> |
basicIterator()
Returns a read-only iterator that does not
resolve objects. |
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 unsafe list that provides a
non-resolving view of the underlying data storage. |
java.util.ListIterator<E> |
basicListIterator()
Returns a read-only list iterator that does not
resolve objects. |
java.util.ListIterator<E> |
basicListIterator(int index)
Returns a read-only list iterator advanced to the given index that does not
resolve objects. |
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.
|
protected java.lang.Object[] |
newData(int capacity)
Returns new allocated data storage.
|
addAllUnique, addAllUnique, addAllUnique, addAllUnique, addUnique, addUnique, assign, basicGet, clear, clone, contains, data, get, grow, indexOf, isEmpty, lastIndexOf, move, primitiveGet, remove, setData, setUnique, shrink, size, toArray, toArray
add, add, addAll, addAll, canContainNull, didAdd, didChange, didClear, didMove, didRemove, didSet, equalObjects, equals, getDuplicates, getNonDuplicates, hashCode, isUnique, iterator, listIterator, listIterator, move, remove, removeAll, resolve, retainAll, set, toString, useEquals, validate
finalize, getClass, notify, notifyAll, wait, wait, wait
addAllUnique, addAllUnique, addUnique, addUnique, basicGet, setUnique
public BasicInternalEList(java.lang.Class<?> dataClass)
public BasicInternalEList(java.lang.Class<?> dataClass, int initialCapacity)
public BasicInternalEList(java.lang.Class<?> dataClass, java.util.Collection<? extends E> collection)
public BasicInternalEList(java.lang.Class<?> dataClass, int size, java.lang.Object[] data)
protected java.lang.Object[] newData(int capacity)
BasicEList
newData
in class BasicEList<E>
public NotificationChain basicRemove(java.lang.Object object, NotificationChain notifications)
InternalEList
basicRemove
in interface InternalEList<E>
public NotificationChain basicAdd(E object, NotificationChain notifications)
InternalEList
basicAdd
in interface InternalEList<E>
public java.util.Iterator<E> basicIterator()
AbstractEList
resolve
objects.
This implementation allocates a AbstractEList.NonResolvingEIterator
.basicIterator
in interface InternalEList<E>
basicIterator
in class AbstractEList<E>
public java.util.List<E> basicList()
BasicEList
non-resolving
view of the underlying data storage.basicList
in interface InternalEList<E>
basicList
in class BasicEList<E>
public java.util.ListIterator<E> basicListIterator()
AbstractEList
resolve
objects.
This implementation allocates a AbstractEList.NonResolvingEListIterator
.basicListIterator
in interface InternalEList<E>
basicListIterator
in class AbstractEList<E>
public java.util.ListIterator<E> basicListIterator(int index)
AbstractEList
resolve
objects.
This implementation allocates a AbstractEList.NonResolvingEListIterator
.basicListIterator
in interface InternalEList<E>
basicListIterator
in class AbstractEList<E>
index
- the starting index.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>