kryshen.tema.functions
Class Control

java.lang.Object
  extended by kryshen.tema.functions.Control

public class Control
extends java.lang.Object

Logical and conditional functions.

Author:
Mikhail Kryshen

Field Summary
static Function FALSE
          Copy input to output and return zero value.
static Function IF
           
static Function IF_ELSE
           
static Function NOT
          Logical negation (applied to the return value).
static Function OPTIONAL
          Outputs it's data if it has non-zero value.
static Function TRUE
          Copy input to output and return non-zero value.
static Function WHILE
          Outputs it's evaluated data while the evaluation result is non-zero.
 
Constructor Summary
Control()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FALSE

public static final Function FALSE
Copy input to output and return zero value.


TRUE

public static final Function TRUE
Copy input to output and return non-zero value.


OPTIONAL

public static final Function OPTIONAL
Outputs it's data if it has non-zero value.


NOT

public static final Function NOT
Logical negation (applied to the return value).


IF

public static final Function IF

IF_ELSE

public static final Function IF_ELSE

WHILE

public static final Function WHILE
Outputs it's evaluated data while the evaluation result is non-zero.

Constructor Detail

Control

public Control()