[API Review] Property and expression conversion methods

steve.x.northover at oracle.com steve.x.northover at oracle.com
Tue Feb 19 09:44:45 PST 2013

I agree.  asObject seems a bit to general.


On 19/02/2013 12:23 PM, Richard Bair wrote:
>> 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?
> Richard

More information about the openjfx-dev mailing list