Class DictValue


  • public class DictValue
    extends Object
    This struct stores the scalar value (or array) of one of the following type: double, cv::String or int64. TODO: Maybe int64 is useless because double type exactly stores at least 2^52 integers.
    • Field Detail

      • nativeObj

        protected final long nativeObj
    • Constructor Detail

      • DictValue

        protected DictValue​(long addr)
      • DictValue

        public DictValue​(int i)
      • DictValue

        public DictValue​(double p)
      • DictValue

        public DictValue​(String s)
    • Method Detail

      • getNativeObjAddr

        public long getNativeObjAddr()
      • __fromPtr__

        public static DictValue __fromPtr__​(long addr)
      • isInt

        public boolean isInt()
      • isString

        public boolean isString()
      • isReal

        public boolean isReal()
      • getIntValue

        public int getIntValue​(int idx)
      • getIntValue

        public int getIntValue()
      • getRealValue

        public double getRealValue​(int idx)
      • getRealValue

        public double getRealValue()
      • getStringValue

        public String getStringValue​(int idx)
      • getStringValue

        public String getStringValue()