[API Review] Property and expression conversion methods

Richard Bair richard.bair at oracle.com
Tue Feb 19 09:23:20 PST 2013

> public ObjectExpression<Double> asObject();
> public ReadOnlyObjectProperty<Double> asObject();
> ObjectProperty<Double> asObject();
> public static <T extends Number> DoubleExpression doubleExpression(ObservableValue<T>)
> public static <T extends Number> ReadOnlyDoubleProperty readOnlyDoubleProperty(ReadOnlyProperty<T>);
> public static <T extends Number> DoubleProperty doubleProperty(Property<T>);

I wonder if we ought not use a consistent naming here, such as asObjectProperty and asDoubleExpression? Also should it be asFoo or toFoo? Is there a precedent?


More information about the openjfx-dev mailing list