Class L_HASHMAP

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

@Name("L_Hashmap") @Properties(inherit=leptonica.class) public class L_HASHMAP extends Pointer
General hash map
  • Constructor Details

    • L_HASHMAP

      public L_HASHMAP()
      Default native constructor.
    • L_HASHMAP

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

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

    • position

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

      public L_HASHMAP getPointer(long i)
      Overrides:
      getPointer in class Pointer
    • nitems

      @Cast("l_int32") public int nitems()
      number of stored items
    • nitems

      public L_HASHMAP nitems(int setter)
    • ntogo

      @Cast("l_int32") public int ntogo()
      before resizing the hashmap
    • ntogo

      public L_HASHMAP ntogo(int setter)
    • maxocc

      @Cast("l_int32") public int maxocc()
      max average occupancy allowed
    • maxocc

      public L_HASHMAP maxocc(int setter)
    • hashtab

      public L_HASHITEM hashtab(int i)
      array of hash item ptrs
    • hashtab

      public L_HASHMAP hashtab(int i, L_HASHITEM setter)
    • hashtab

      @Cast("L_Hashitem**") public PointerPointer hashtab()
    • hashtab

      public L_HASHMAP hashtab(PointerPointer setter)
    • tabsize

      @Cast("l_int32") public int tabsize()
      size of array of hash item ptrs
    • tabsize

      public L_HASHMAP tabsize(int setter)