Package org.bytedeco.leptonica
Class L_HASHMAP
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.leptonica.L_HASHMAP
- All Implemented Interfaces:
AutoCloseable
General hash map
-
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 TypeMethodDescriptiongetPointer
(long i) hashtab()
hashtab
(int i) array of hash item ptrshashtab
(int i, L_HASHITEM setter) hashtab
(PointerPointer setter) int
maxocc()
max average occupancy allowedmaxocc
(int setter) int
nitems()
number of stored itemsnitems
(int setter) int
ntogo()
before resizing the hashmapntogo
(int setter) position
(long position) int
tabsize()
size of array of hash item ptrstabsize
(int setter) 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_HASHMAP
public L_HASHMAP()Default native constructor. -
L_HASHMAP
public L_HASHMAP(long size) Native array allocator. Access withPointer.position(long)
. -
L_HASHMAP
Pointer cast constructor. InvokesPointer(Pointer)
.
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointer
in classPointer
-
nitems
number of stored items -
nitems
-
ntogo
before resizing the hashmap -
ntogo
-
maxocc
max average occupancy allowed -
maxocc
-
hashtab
array of hash item ptrs -
hashtab
-
hashtab
-
hashtab
-
tabsize
size of array of hash item ptrs -
tabsize
-