| 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,T1,T2> function)
create a model with a transforming function
|
<T> org.apache.wicket.model.IModel<T> |
applyLazy(Function2<T,Lazy<T1>,Lazy<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,T1,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,Lazy<T1>,Lazy<T2>> function)
R - result model typeT1 - first model type from setT2 - first model type from setfunction - transforming functionModels.on(IModel,IModel)Copyright © 2013. All Rights Reserved.