30 |
import org.fenfire.util.*; |
import org.fenfire.util.*; |
31 |
|
|
32 |
/** A function f: nodes -> objects. |
/** A function f: nodes -> objects. |
33 |
* The basic class for functional programming |
* This represents an *impure* function - the function |
34 |
|
* may depend on anything. |
35 |
|
* The subinterface PureNodeFunction is |
36 |
|
* the basic class for functional programming |
37 |
* optimizations |
* optimizations |
38 |
* with swamp. |
* with swamp. |
39 |
|
* @see PureNodeFunction |
40 |
*/ |
*/ |
41 |
public interface NodeFunction { |
public interface NodeFunction { |
42 |
Object f(ConstGraph g, Object node); |
Object f(ConstGraph g, Object node); |