[jira] [Commented] (PIVOT-999) Update code to take advantage of Java 8 features

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Commented] (PIVOT-999) Update code to take advantage of Java 8 features

JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/PIVOT-999?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16043391#comment-16043391 ]

Roger Whitcomb commented on PIVOT-999:
--------------------------------------

Changed the naming conventions on the new default methods in Dictionary, and added "Boolean" ones as well:
Sending        core\src\org\apache\pivot\collections\Dictionary.java
Sending        core\test\org\apache\pivot\collections\test\DictionaryTest.java
Sending        tutorials\src\org\apache\pivot\tutorials\bxmlexplorer\tools\ComponentInspectorSkin.java
Sending        tutorials\src\org\apache\pivot\tutorials\explorer\tools\ComponentInspectorSkin.java
Sending        wtk\src\org\apache\pivot\wtk\Bounds.java
Sending        wtk\src\org\apache\pivot\wtk\Insets.java
Sending        wtk\src\org\apache\pivot\wtk\Point.java
Sending        wtk\src\org\apache\pivot\wtk\content\TableViewTextAreaCellRenderer.java
Sending        wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraMenuButtonSkin.java
Sending        wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraSuggestionPopupSkin.java
Sending        wtk-terra\src\org\apache\pivot\wtk\skin\terra\TerraTabPaneSkin.java
Transmitting file data ...........done
Committing transaction...
Committed revision 1798122.

> Update code to take advantage of Java 8 features
> ------------------------------------------------
>
>                 Key: PIVOT-999
>                 URL: https://issues.apache.org/jira/browse/PIVOT-999
>             Project: Pivot
>          Issue Type: New Feature
>          Components: all
>    Affects Versions: 2.1
>         Environment: All
>            Reporter: Roger Whitcomb
>            Assignee: Roger Whitcomb
>
> Some features that we could potentially use include:
> * default methods in interfaces to extend features while maintaining backward compatibility
> * lambdas for such things as callbacks
> * really use functional interfaces (already kind of present, but not really used)
> * "forEach" in many places for Iterable collections



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)