public abstract class NObjectReadOnlyCollection<E extends NObject> extends NAbstractObjectReadOnlyCollection<E>
clsowner| Modifier | Constructor and Description |
|---|---|
protected |
NObjectReadOnlyCollection(Class<E> cls,
NObject owner) |
| Modifier and Type | Method and Description |
|---|---|
E |
get(HNObject handle)
Gets a read-only 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 a read-onlu object specified by a handle.
|
int |
indexOf(Object obj)
Gets the index of the specified read-only object.
|
protected boolean |
isCache() |
getAllOutNative, getNativeaddCollectionChangedNative, addCollectionChangeListener, addPropertyChangeListener, getObjectToCollection, removeCollectionChangedNative, removeCollectionChangeListener, removePropertyChangeListener, size, sizeNative, supportsCollectionChanged, supportsGetAll, supportsGetAllOut, toArray, toArrayadd, add, addAll, addAll, clear, contains, containsAll, get, getModCount, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeRange, retainAll, 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 NAbstractReadOnlyCollection<E extends NObject>protected final int getAllInternal(E[] a)
getAllInternal in class NSimpleReadOnlyCollection<E extends NObject>protected final E[] getAllOutInternal()
getAllOutInternal in class NSimpleReadOnlyCollection<E extends NObject>protected final com.neurotec.util.NSimpleReadOnlyCollection.ItemsToArray getItemsToList()
getItemsToList in class NSimpleReadOnlyCollection<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.