java - android.util.Pair<F, S> example in Android -
i want return tuple of double
data types. unable create pair
. have read documentation unable make it. doing
private pair mynums(double f, double s) { pair<f f, s s> p = pair.create(f, s); return p; }
but saying
unknown class f
f , s type. in case double
.
pair<double, double> p = pair.create(f, s);
Comments
Post a Comment