
eu.clarussecure.dataoperations.homomorphic.operators.GreaterOrEqual Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of dataoperations.homomorphic Show documentation
Show all versions of dataoperations.homomorphic Show documentation
CLARUS Homomorphoc encryption module
The newest version!
package eu.clarussecure.dataoperations.homomorphic.operators;
public class GreaterOrEqual extends Select {
public GreaterOrEqual(String threshold) {
this.threshold = threshold;
}
@Override
public boolean select(String data) {
double numericData = Double.parseDouble(data);
double numericThreshold = Double.parseDouble(this.threshold);
return numericData >= numericThreshold;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy