Skip to content

map function for Double property #17

@b25rb2hkb25kbw

Description

@b25rb2hkb25kbw

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...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions