Package org.opencv.dnn
Class DictValue
- java.lang.Object
-
- org.opencv.dnn.DictValue
-
public class DictValue extends java.lang.ObjectThis 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 Summary
Fields Modifier and Type Field Description protected longnativeObj
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DictValue__fromPtr__(long addr)protected voidfinalize()intgetIntValue()intgetIntValue(int idx)longgetNativeObjAddr()doublegetRealValue()doublegetRealValue(int idx)java.lang.StringgetStringValue()java.lang.StringgetStringValue(int idx)booleanisInt()booleanisReal()booleanisString()
-
-
-
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 java.lang.String getStringValue(int idx)
-
getStringValue
public java.lang.String getStringValue()
-
finalize
protected void finalize() throws java.lang.Throwable- Overrides:
finalizein classjava.lang.Object- Throws:
java.lang.Throwable
-
-