You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2015/10/04 13:54:26 UTC

[jira] [Commented] (WICKET-5991) Introduce models which use Java 8 supplier/consumer

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

ASF subversion and git services commented on WICKET-5991:
---------------------------------------------------------

Commit aa10baf63e782a67ffadb30fec82c429a3b4805f in wicket's branch refs/heads/lambdas from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=aa10baf ]

WICKET-5991 Introduce models which use Java 8 supplier/consumer

Add:
- LambdaModel - a model with supplier and consumer (dual to Model)
- SupplierModel - a read-only model that uses a Supplier to provide the object (dual to AbstractReadOnlyModel)
- SupplierCachingModel - a read-only model that uses a Supplier to provide the object. Caches the result until detached. (dual to LoadableDetachableModel)


> Introduce models which use Java 8 supplier/consumer
> ---------------------------------------------------
>
>                 Key: WICKET-5991
>                 URL: https://issues.apache.org/jira/browse/WICKET-5991
>             Project: Wicket
>          Issue Type: New Feature
>          Components: wicket
>    Affects Versions: 8.0.0-M1
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>
> Wicket should have IModel implementation which use Java 8 supplier/consumer, i.e. allow using method references / lambdas.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)