
eu.clarussecure.dataoperations.encryption.operators.Equals Maven / Gradle / Ivy
The newest version!
package eu.clarussecure.dataoperations.encryption.operators;
public class Equals extends Select {
public Equals(String threshold) {
this.threshold = threshold;
}
@Override
public boolean select(String data) {
// This class has been . implemented for numeric values
// First, parse the arguments
double numericData = Double.parseDouble(data);
double numericThreshold = Double.parseDouble(this.threshold);
// Compare the data and return the result of the comparison
return numericData == numericThreshold;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy