com.github.wz2cool.dynamic.builder.opeartor.Between Maven / Gradle / Ivy
package com.github.wz2cool.dynamic.builder.opeartor;
import com.github.wz2cool.dynamic.FilterOperator;
import java.util.ArrayList;
import java.util.List;
/**
* @author Frank
*/
public class Between implements ITwoValueFilterOperator {
private final List value;
public Between(T value1, T value2) {
List values = new ArrayList<>();
values.add(value1);
values.add(value2);
this.value = values;
}
@Override
public List getValue() {
return value;
}
@Override
public FilterOperator getOperator() {
return FilterOperator.BETWEEN;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy