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

com.jonpereiradev.jfile.reader.rule.column.MinDoubleRule Maven / Gradle / Ivy

package com.jonpereiradev.jfile.reader.rule.column;

import com.jonpereiradev.jfile.reader.file.JFileColumn;

public class MinDoubleRule extends AbstractColumnRule {

    private final double min;

    public MinDoubleRule(int position, double min) {
        super(position);
        this.min = min;
    }

    @Override
    public boolean isValid(JFileColumn fileColumn) {
        return fileColumn.getDouble() >= min;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy