private final IBooleanExpression filtered;
public NearCondition(TypeExpression type, INumberExpression min, INumberExpression max,
IBooleanExpression forward, IBooleanExpression filtered) {
super(type);
this.min = min == null ? new SimpleNumberExpression(1) : min;
this.max = max == null ? new SimpleNumberExpression(1) : max;
this.forward = forward == null ? new SimpleBooleanExpression(true) : forward;
this.filtered = filtered == null ? new SimpleBooleanExpression(false) : filtered;
}