EasyBindを導入する前に -
DoubleBinding contentHeight = Bindings.createDoubleBinding(
() -> getHeight() - getInsets().getTop() - getInsets().getBottom(),
heightProperty(), insetsProperty());
EasyBind導入後~
Binding<Double> contentHeight = EasyBind.combine(
heightProperty(), insetsProperty(),
(h, i) -> h.doubleValue() - i.getTop() - i.getBottom());
部分に関してはやや不快ですdoubleValue()。combineのサブクラスでNumberPropertyある EasyBind が, , ...Numberの代わりに渡されるたびにDoubleInteger
回避する方法はありdoubleValue()ますか?