public class RecursiveEvaluation extends Object implements Function<Object>, Serializable
functions. If the Function
returns another function of type functionType, that function
is executed. Functions are executed until a non function value or a
function of a type other than that expected is returned.| Constructor and Description |
|---|
RecursiveEvaluation(Function<?> function)
Create a new RecursiveEvaluation.
|
RecursiveEvaluation(Function<?> function,
Class<?> functionType)
Create a new RecursiveEvaluation.
|
public RecursiveEvaluation(Function<?> function)
function.function - initial, potentially recursive Functionpublic RecursiveEvaluation(Function<?> function, Class<?> functionType)
function - initial, potentially recursive FunctionfunctionType - as long as result is an instance, keep processing.Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.