Package org.bytedeco.leptonica
Class L_HASHITEM
java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.leptonica.L_HASHITEM
- All Implemented Interfaces:
AutoCloseable
Hash item, containing storage for the key, value and count. The key
is a l_uint64, which is hashed by the mod function to find the index
into the hashtab.
-
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
ConstructorDescriptionDefault native constructor.L_HASHITEM
(long size) Native array allocator.Pointer cast constructor. -
Method Summary
Modifier and TypeMethodDescriptionint
count()
number of elements seen with this keycount
(int setter) getPointer
(long i) long
key()
key is hashed into index into hashtabkey
(long setter) next()
ptr to the next in the listnext
(L_HASHITEM setter) position
(long position) long
val()
number stored associated with the keyval
(long 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_HASHITEM
public L_HASHITEM()Default native constructor. -
L_HASHITEM
public L_HASHITEM(long size) Native array allocator. Access withPointer.position(long)
. -
L_HASHITEM
Pointer cast constructor. InvokesPointer(Pointer)
.
-
-
Method Details
-
position
-
getPointer
- Overrides:
getPointer
in classPointer
-
key
key is hashed into index into hashtab -
key
-
val
number stored associated with the key -
val
-
count
number of elements seen with this key -
count
-
next
ptr to the next in the list -
next
-