Class L_HEAP

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

@Name("L_Heap") @Properties(inherit=leptonica.class) public class L_HEAP extends Pointer
Heap of arbitrary void* data
  • Constructor Details

    • L_HEAP

      public L_HEAP()
      Default native constructor.
    • L_HEAP

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

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

    • position

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

      public L_HEAP getPointer(long i)
      Overrides:
      getPointer in class Pointer
    • nalloc

      @Cast("l_int32") public int nalloc()
      size of allocated ptr array
    • nalloc

      public L_HEAP nalloc(int setter)
    • n

      @Cast("l_int32") public int n()
      number of elements stored in the heap
    • n

      public L_HEAP n(int setter)
    • array

      public Pointer array(int i)
      ptr array
    • array

      public L_HEAP array(int i, Pointer setter)
    • array

      @Cast("void**") public PointerPointer array()
    • array

      public L_HEAP array(PointerPointer setter)
    • direction

      @Cast("l_int32") public int direction()
      L_SORT_INCREASING or L_SORT_DECREASING
    • direction

      public L_HEAP direction(int setter)