Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8091657

Move convenience methods from *Expression classes to respective interfaces

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Unresolved
    • Icon: P4 P4
    • tbd
    • None
    • javafx

      With the advent of default methods in Java 8, the need for *Expression classes (DoubleExpression, BooleanExpression, ...) vanished, since all their methods can be implemented as default methods in the respective interfaces (ObservableDoubleValue, ObservableBooleanValue, ...).

      I realize that *Expression classes will have to be dragged along forever, but the implementation of their convenience methods could be moved up to the respective interfaces, so that alternative implementations of observable interfaces can inherit their default implementation of those methods.

            Unassigned Unassigned
            tmikula Tomas Mikula
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Imported: