A function that checks for the equality of various data types.
- Author
- Sylvain Hallé
- Since
- 0.1
Definition at line 36 of file Equals.java.
|
| Boolean | getValue (Object x, Object y) |
| String | toString () |
| | BinaryFunction (Class< T > t, Class< V > v, Class< U > u) |
| | Creates a new instance of a binary function.
|
| void | evaluate (Object[] inputs, Object[] outputs, Context context, EventTracker tracker) |
| | Evaluates the outputs of the function, given some inputs.
|
| abstract U | getValue (T x, V y) |
| | Evaluates the function.
|
| final int | getInputArity () |
| | Gets the function's input arity, i.e.
|
| final int | getOutputArity () |
| | Gets the function's output arity, i.e.
|
| U | getStartValue () |
| | Gets a reasonable starting value if this function is used to create a CumulativeFunction.
|
| void | reset () |
| | Resets the function to its initial state.
|
| BinaryFunction< T, V, U > | duplicate (boolean with_state) |
| | Duplicates an object.
|
| final Class< T > | getInputTypeLeft () |
| final Class< V > | getInputTypeRight () |
| final void | getInputTypesFor (Set< Class<?> > classes, int index) |
| | Populates the set of classes accepted by the function for its i-th input.
|
| final Class< U > | getOutputType () |
| final Class<?> | getOutputTypeFor (int index) |
| | Returns the type of the events produced by the function for its i-th output.
|
| void | evaluate (Object[] inputs, Object[] outputs, Context context) |
| | Evaluates the outputs of the function, given some inputs.
|
| void | evaluate (Object[] inputs, Object[] outputs) |
| | Evaluates the outputs of the function, given some inputs.
|
| boolean | evaluatePartial (Object[] inputs, Object[] outputs, Context context) |
| | Evaluates the outputs of the function, given some inputs.
|
| boolean | evaluateLazy (Object[] inputs, Object[] outputs) |
| | Attempts a lazy evaluation of the function, given some inputs.
|
| final Function | duplicate () |
| | Duplicates an object and sets it to its initial state.
|
| Object | print (ObjectPrinter<?> printer) |
| final Function | read (ObjectReader<?> reader, Object o) throws FunctionException |
| | Reads the content of a function from a serialized object.
|