|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReflectParameters
Interface to define a way to determine compatible reflected elements according to a list of parameters.
Method Summary | |
---|---|
ReflectElement |
findCompatible(ReflectElement[] p_elements,
Object[] p_params)
Finds the reflected element that is compatible with the given parameters. |
boolean |
isPartialApplicationPossible(ReflectElement[] p_elements,
Object[] p_params)
Determines if the given parameters can be partially applied to at least one of the reflected elements. |
Method Detail |
---|
ReflectElement findCompatible(ReflectElement[] p_elements, Object[] p_params) throws FunctionException
p_elements
- the elements from which to find the compatible element.p_params
- the parameters with which the element must be compatible.
FunctionException
- thrown if no element is compatible.boolean isPartialApplicationPossible(ReflectElement[] p_elements, Object[] p_params)
p_elements
- the possible reflected elements.p_params
- the parameters to be partially applied.
true
if the given parameters can be
partially applied to at least one reflected element,
false
otherwise.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |