Constructor and Description |
---|
NSFNoteIDCollection(NSFSession session,
long handle,
boolean destroyOnFree) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Integer e) |
boolean |
addAll(Collection<? extends Integer> c) |
void |
clear() |
boolean |
contains(Object o) |
boolean |
containsAll(Collection<?> c) |
protected void |
doFree()
This method is called when the final reference to this object is freed.
|
boolean |
equals(Object obj)
Determines whether the provided object is also a note collection and is considered equal by
the underlying IDAreTablesEqual function.
|
protected NSFSession |
getParent() |
boolean |
isEmpty() |
Iterator<Integer> |
iterator() |
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
boolean |
retainAll(Collection<?> c) |
int |
size() |
Object[] |
toArray() |
<T> T[] |
toArray(T[] a) |
_checkRefValidity, getHandle, getSession, hashCode, isRefValid, setHandle, toString
addChild, addChildStruct, debugPrintChildHierarchy, finalize, free, free, free, getAPI, getChildObjectCount, getChildObjectCount, getChildStructCount, isFreed, isTraceCreation, removeChild, removeChildStruct, removeFromParent, retain, setNeedsFree, setTraceCreation
clone, getClass, hashCode, notify, notifyAll, wait, wait, wait
hashCode, spliterator
parallelStream, removeIf, stream
public NSFNoteIDCollection(NSFSession session, long handle, boolean destroyOnFree)
session
- the parent NSFSession
for the collectionhandle
- the DHANDLE value for the internal IDTable
destroyOnFree
- whether or not to call IDDestroyTable
on deallocation (for example,
for handles created by NSFNoteGetInfo
public boolean add(Integer e)
public boolean addAll(Collection<? extends Integer> c)
public void clear()
public boolean contains(Object o)
public boolean containsAll(Collection<?> c)
containsAll
in interface Collection<Integer>
containsAll
in interface Set<Integer>
public boolean isEmpty()
public boolean remove(Object o)
public boolean removeAll(Collection<?> c)
public boolean retainAll(Collection<?> c)
public int size()
public Object[] toArray()
public <T> T[] toArray(T[] a)
public boolean equals(Object obj)
protected void doFree()
NSFBase
Implemented classes are expected to release any memory or network resources they have open. They are also expected to write this defensively, allowing the method to be called multiple times on the same object without problem.
protected NSFSession getParent()
Copyright © 2014–2018. All rights reserved.