Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map function for Double property #17

Open
b25rb2hkb25kbw opened this issue Nov 13, 2018 · 0 comments
Open

map function for Double property #17

b25rb2hkb25kbw opened this issue Nov 13, 2018 · 0 comments

Comments

@b25rb2hkb25kbw
Copy link

Currently, if I want to map DoubleProperty to String, I cannot use map function directly like:

Easybind.map(someDoubleProperty, someMapperFromDoubleToString)

because DoubleProperty only implements ObservableValue<Number>, not ObservableValue<Double> and thus the second argument should be Function<Number, U>. I think it would be better the method is overloaded for arguments (ObservableDoubleValue, DoubleFunction), (ObservableIntValue, IntFunction) and so on.

It seems that this repository is not maintained these days. Since this is really splendid project, I hope that it will be continued developing...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant