Class RB_TYPE

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

@Name("Rb_Type") @Properties(inherit=leptonica.class) public class RB_TYPE extends Pointer
Storage for keys and values for red-black trees, maps and sets.
 Note:
   (1) Keys and values of the valid key types are all 64-bit
   (2) (void *) can be used for values but not for keys.
 
  • Constructor Details

    • RB_TYPE

      public RB_TYPE()
      Default native constructor.
    • RB_TYPE

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

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

    • position

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

      public RB_TYPE getPointer(long i)
      Overrides:
      getPointer in class Pointer
    • itype

      @Cast("l_int64") public long itype()
    • itype

      public RB_TYPE itype(long setter)
    • utype

      @Cast("l_uint64") public long utype()
    • utype

      public RB_TYPE utype(long setter)
    • ftype

      @Cast("l_float64") public double ftype()
    • ftype

      public RB_TYPE ftype(double setter)
    • ptype

      public Pointer ptype()
    • ptype

      public RB_TYPE ptype(Pointer setter)