139 Entry[] res =
new Entry[n];
140 for (
int i = 0; i < n; i++)
143 String k = Native.statsGetKey(getContext().nCtx(), getNativeObject(), i);
144 if (Native.statsIsUint(getContext().nCtx(), getNativeObject(), i)) {
145 e =
new Entry(k, Native.statsGetUintValue(getContext().nCtx(),
146 getNativeObject(), i));
147 }
else if (Native.statsIsDouble(getContext().nCtx(), getNativeObject(), i)) {
148 e =
new Entry(k, Native.statsGetDoubleValue(getContext().nCtx(),
149 getNativeObject(), i));