viper.filters
Interface Filterable.Rule

All Known Implementing Classes:
Attribute_bbox.Crops, Attribute_bbox.ProportionalResizer, Attribute_bbox.Resizer, Attribute_obox.Resizer, Attribute_polygon.Sizer
Enclosing interface:
Filterable

public static interface Filterable.Rule

This object tests a given value against a rule.


Method Summary
 boolean isShortCircuit()
          Tells the filter whether to apply short circuiting.
 boolean passes(Measurable o)
          The function method of this object, passes determines if the filterable object passes.
 

Method Detail

passes

public boolean passes(Measurable o)
The function method of this object, passes determines if the filterable object passes.

Parameters:
o - the measurable object to test
Returns:
true if the Filterable object passes the rule.

isShortCircuit

public boolean isShortCircuit()
Tells the filter whether to apply short circuiting.

Returns: