pedviz.algorithms.filter
Interface Condition

All Known Implementing Classes:
NumberCondition, TextCondition

public interface Condition

Implementations of this interface represent a condition.

Author:
lukas forer

Field Summary
static int BETWEEN
          Check on interval.
static int EQUALS
          Check on equal.
static int GREATER
          Check on greather.
static int LESSER
          Check on lesser.
static int NBETWEEN
           
static int NEQUALS
          Check on not equal.
 
Method Summary
 boolean check(Node node)
          Checks if the condition for the given node is valid.
 

Field Detail

EQUALS

static final int EQUALS
Check on equal.

See Also:
Constant Field Values

NEQUALS

static final int NEQUALS
Check on not equal.

See Also:
Constant Field Values

GREATER

static final int GREATER
Check on greather.

See Also:
Constant Field Values

LESSER

static final int LESSER
Check on lesser.

See Also:
Constant Field Values

BETWEEN

static final int BETWEEN
Check on interval.

See Also:
Constant Field Values

NBETWEEN

static final int NBETWEEN
See Also:
Constant Field Values
Method Detail

check

boolean check(Node node)
Checks if the condition for the given node is valid.

Parameters:
node - Node object
Returns:
true, if the condition for the given node is valid.