|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
In - The input object.Out - The derived value.public interface Function<In,Out>
Used for derived properties using the Extend methods.
Usage:
import static com.github.jknack.extend.Extend.*;
...
MyObject extended =
extend(object,
$("propertyA", new Function() {
public Integer apply(MyObject object) {
return ...;
}
})
);
| Method Summary | |
|---|---|
Out |
apply(In value)
Usage: |
| Method Detail |
|---|
Out apply(In value)
Usage:
import static com.github.jknack.extend.Extend.*;
...
MyObject extended =
extend(object,
$("propertyA", new Function() {
public Integer apply(MyObject object) {
return ...;
}
})
);
value - The input object.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||