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

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -