| Constructor and Description |
|---|
ModelSet.Set2(org.apache.wicket.model.IModel<T1> m1,
org.apache.wicket.model.IModel<T2> m2) |
| Modifier and Type | Method and Description |
|---|---|
<T> org.apache.wicket.model.IModel<T> |
apply(Function2<T,? super T1,? super T2> function)
create a model with a transforming function
|
<T> org.apache.wicket.model.IModel<T> |
applyLazy(Function2<T,? super Lazy<? extends T1>,? super Lazy<? extends T2>> function)
create a model with a transforming function with model value access indirection
|
public <T> org.apache.wicket.model.IModel<T> apply(Function2<T,? super T1,? super T2> function)
R - result model typeT1 - first model type from setT2 - first model type from setfunction - transforming functionModels.on(IModel,IModel)public <T> org.apache.wicket.model.IModel<T> applyLazy(Function2<T,? super Lazy<? extends T1>,? super Lazy<? extends T2>> function)
R - result model typeT1 - first model type from setT2 - first model type from setfunction - transforming functionModels.on(IModel,IModel)Copyright © 2014. All Rights Reserved.