| java.lang.Object org.pnuts.lib.FunctionComparator
FunctionComparator | public class FunctionComparator implements Comparator(Code) | | Comparator that compares the results of function calls.
|
FunctionComparator | public FunctionComparator(PnutsFunction func, Context context)(Code) | | Constructor
Parameters: func - the results of the function are compared Parameters: context - the context in which the function is called |
FunctionComparator | public FunctionComparator(PnutsFunction func, Context context, int equalValue)(Code) | | Constructor
Parameters: func - the results of the function are compared Parameters: context - the context in which the function is called Parameters: equalValue - compare() returns this when two objects are equal; the default is 0 |
|
|