|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jjoost.util.Functions.FieldProjection<E,F>
public static final class Functions.FieldProjection<E,F>
A Function which accepts a Field (reflection API), which will be retrieved and returned
from every object the function is applied to.
| Constructor Summary | |
|---|---|
Functions.FieldProjection(java.lang.Class<F> returnType,
java.lang.reflect.Field f)
Create a new FieldProjection |
|
| Method Summary | |
|---|---|
F |
apply(E v)
Returns the result of applying the function to the parameter |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Functions.FieldProjection(java.lang.Class<F> returnType,
java.lang.reflect.Field f)
FieldProjection
returnType - the type stored by the fieldf - the Field object| Method Detail |
|---|
public F apply(E v)
Function
apply in interface Function<E,F>v - something of type domain
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||