All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.github.wz2cool.dynamic.builder.opeartor.Between Maven / Gradle / Ivy

There is a newer version: 3.2.32
Show newest version
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