public abstract class NObjectCollection<E extends NObject> extends NAbstractObjectCollection<E>
clsowner| Modifier | Constructor and Description |
|---|---|
protected |
NObjectCollection(Class<E> cls,
NObject owner) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
addInternal(int index,
E value) |
protected int |
addWithOutIndexInternal(E value) |
E |
get(HNObject handle)
Gets an object specified by a handle.
|
protected int |
getAllInternal(E[] a) |
protected abstract int |
getAllNative(HNObject handle,
NObjectArray<E> values,
int valuesLength) |
protected E[] |
getAllOutInternal() |
protected E |
getInternal(int index) |
protected com.neurotec.util.NSimpleReadOnlyCollection.ItemsToArray |
getItemsToList() |
int |
indexOf(HNObject handle)
Gets the index of an object specified by a handle.
|
int |
indexOf(Object obj)
Gets the index of the specified object.
|
protected boolean |
isCache() |
protected int |
removeWithOutIndexInternal(E value) |
protected void |
setInternal(int index,
E value) |
addNative, addPlainInternal, addWithOutIndexNative, getAllOutNative, getNative, removeWithOutIndexNative, setNative, supportsAddWithOutIndexaddCollectionChangedNative, addCollectionChangeListener, addInternal, addPropertyChangeListener, clearInternal, clearNative, ensureCapacity, getCapacityNative, getObjectToCollection, removeAll, removeCollectionChangedNative, removeCollectionChangeListener, removeEx, removeInternal, removeInternal, removeNative, removePropertyChangeListener, removeRangeInternal, removeRangeNative, retainAll, setCapacityNative, size, sizeNative, supportsCollectionChanged, supportsEquality, supportsGetAll, supportsGetAllOut, supportsRemoveByValue, supportsRemoveRange, toArray, toArray, trimToSizeadd, add, addAll, addAll, addEx, clear, contains, containsAll, get, getModCount, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeRange, set, subList, touchgetOwnerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitequals, hashCode, replaceAll, sort, spliteratorparallelStream, removeIf, streamprotected final E getInternal(int index)
getInternal in class NAbstractCollection<E extends NObject>protected final int getAllInternal(E[] a)
getAllInternal in class NSimpleCollection<E extends NObject>protected final E[] getAllOutInternal()
getAllOutInternal in class NSimpleCollection<E extends NObject>protected final void setInternal(int index,
E value)
setInternal in class NAbstractCollection<E extends NObject>protected final int addWithOutIndexInternal(E value)
addWithOutIndexInternal in class NSimpleCollection<E extends NObject>protected final void addInternal(int index,
E value)
addInternal in class NAbstractCollection<E extends NObject>protected final int removeWithOutIndexInternal(E value)
removeWithOutIndexInternal in class NSimpleCollection<E extends NObject>protected final com.neurotec.util.NSimpleReadOnlyCollection.ItemsToArray getItemsToList()
getItemsToList in class NSimpleCollection<E extends NObject>protected boolean isCache()
protected abstract int getAllNative(HNObject handle, NObjectArray<E> values, int valuesLength)
public final int indexOf(Object obj)
public int indexOf(HNObject handle)
handle - A handle to the specified object.Copyright © 2016 Neurotechnology. All rights reserved.