Class StrictInequalityFilter
- java.lang.Object
-
- jadex.bridge.nonfunctional.hardconstraints.AbstractConstraintFilter
-
- jadex.bridge.nonfunctional.hardconstraints.StrictInequalityFilter
-
- All Implemented Interfaces:
IAsyncFilter
- Direct Known Subclasses:
InequalityFilter
public class StrictInequalityFilter extends AbstractConstraintFilter
Hard constraint filter for strict inequalities (> and <).
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface jadex.commons.IAsyncFilter
IAsyncFilter.AlwaysFilter<E>, IAsyncFilter.NeverFilter<E>
-
-
Field Summary
Fields Modifier and Type Field Description protected int
comparevalue
Value used during comparison.-
Fields inherited from class jadex.bridge.nonfunctional.hardconstraints.AbstractConstraintFilter
component, propname, value
-
Fields inherited from interface jadex.commons.IAsyncFilter
ALWAYS, NEVER
-
-
Constructor Summary
Constructors Constructor Description StrictInequalityFilter()
Creates a constant value filter.StrictInequalityFilter(boolean less)
Creates a constant value filter.StrictInequalityFilter(java.lang.String propname, java.lang.Object value)
Creates a constant value filter.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IFuture<java.lang.Boolean>
doFilter(IService service, java.lang.Object value)
Test if an object passes the filter.-
Methods inherited from class jadex.bridge.nonfunctional.hardconstraints.AbstractConstraintFilter
filter, getValue, getValueName, setValue, setValueName
-
-
-
-
Constructor Detail
-
StrictInequalityFilter
public StrictInequalityFilter()
Creates a constant value filter.
-
StrictInequalityFilter
public StrictInequalityFilter(boolean less)
Creates a constant value filter.
-
StrictInequalityFilter
public StrictInequalityFilter(java.lang.String propname, java.lang.Object value)
Creates a constant value filter.
-
-
Method Detail
-
doFilter
public IFuture<java.lang.Boolean> doFilter(IService service, java.lang.Object value)
Test if an object passes the filter.- Specified by:
doFilter
in classAbstractConstraintFilter
- Returns:
- True, if passes the filter.
-
-