Package org.bytedeco.leptonica
Class L_HEAP
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.leptonica.L_HEAP
- All Implemented Interfaces:
AutoCloseable
Heap of arbitrary void* data
-
Nested Class Summary
Nested classes/interfaces inherited from class org.bytedeco.javacpp.Pointer
Pointer.CustomDeallocator, Pointer.Deallocator, Pointer.NativeDeallocator, Pointer.ReferenceCounter
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionarray()
array
(int i) ptr arrayarray
(PointerPointer setter) int
L_SORT_INCREASING or L_SORT_DECREASINGdirection
(int setter) getPointer
(long i) int
n()
number of elements stored in the heapn
(int setter) int
nalloc()
size of allocated ptr arraynalloc
(int setter) position
(long position) Methods inherited from class org.bytedeco.javacpp.Pointer
address, asBuffer, asByteBuffer, availablePhysicalBytes, calloc, capacity, capacity, close, deallocate, deallocate, deallocateReferences, deallocator, deallocator, equals, fill, formatBytes, free, getDirectBufferAddress, getPointer, getPointer, getPointer, hashCode, interruptDeallocatorThread, isNull, isNull, limit, limit, malloc, maxBytes, maxPhysicalBytes, memchr, memcmp, memcpy, memmove, memset, offsetAddress, offsetof, offsetof, parseBytes, physicalBytes, physicalBytesInaccurate, position, put, realloc, referenceCount, releaseReference, retainReference, setNull, sizeof, sizeof, toString, totalBytes, totalCount, totalPhysicalBytes, withDeallocator, zero
-
Constructor Details
-
L_HEAP
public L_HEAP()Default native constructor. -
L_HEAP
public L_HEAP(long size) Native array allocator. Access withPointer.position(long)
. -
L_HEAP
Pointer cast constructor. InvokesPointer(Pointer)
.
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointer
in classPointer
-
nalloc
size of allocated ptr array -
nalloc
-
n
number of elements stored in the heap -
n
-
array
ptr array -
array
-
array
-
array
-
direction
L_SORT_INCREASING or L_SORT_DECREASING -
direction
-