Class L_HASHITEM

java.lang.Object
org.bytedeco.javacpp.Pointer
org.bytedeco.leptonica.L_HASHITEM
All Implemented Interfaces:
AutoCloseable

@Name("L_Hashitem") @Properties(inherit=leptonica.class) public class L_HASHITEM extends Pointer
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.
  • Constructor Details

    • L_HASHITEM

      public L_HASHITEM()
      Default native constructor.
    • L_HASHITEM

      public L_HASHITEM(long size)
      Native array allocator. Access with Pointer.position(long).
    • L_HASHITEM

      public L_HASHITEM(Pointer p)
      Pointer cast constructor. Invokes Pointer(Pointer).
  • Method Details

    • position

      public L_HASHITEM position(long position)
      Overrides:
      position in class Pointer
    • getPointer

      public L_HASHITEM getPointer(long i)
      Overrides:
      getPointer in class Pointer
    • key

      @Cast("l_uint64") public long key()
      key is hashed into index into hashtab
    • key

      public L_HASHITEM key(long setter)
    • val

      @Cast("l_uint64") public long val()
      number stored associated with the key
    • val

      public L_HASHITEM val(long setter)
    • count

      @Cast("l_int32") public int count()
      number of elements seen with this key
    • count

      public L_HASHITEM count(int setter)
    • next

      public L_HASHITEM next()
      ptr to the next in the list
    • next

      public L_HASHITEM next(L_HASHITEM setter)