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

Popular posts from this blog

python - How to insert QWidgets in the middle of a Layout? -

python - serve multiple gunicorn django instances under nginx ubuntu -

module - Prestashop displayPaymentReturn hook url -