
org.chronos.chronodb.internal.impl.query.ContainmentDoubleSearchSpecificationImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.chronos.chronodb.api Show documentation
Show all versions of org.chronos.chronodb.api Show documentation
Versioned data storage, embeddable and easy to use.
The newest version!
package org.chronos.chronodb.internal.impl.query;
import org.chronos.chronodb.api.query.DoubleContainmentCondition;
import org.chronos.chronodb.internal.api.query.searchspec.ContainmentDoubleSearchSpecification;
import org.chronos.chronodb.internal.api.query.searchspec.SearchSpecification;
import java.util.Set;
import java.util.function.Predicate;
public class ContainmentDoubleSearchSpecificationImpl extends AbstractSearchSpecification> implements ContainmentDoubleSearchSpecification {
// =================================================================================================================
// FIELDS
// =================================================================================================================
private final double equalityTolerance;
// =================================================================================================================
// CONSTRUCTOR
// =================================================================================================================
public ContainmentDoubleSearchSpecificationImpl(final String property, final DoubleContainmentCondition condition, final Set searchValue, double equalityTolerance) {
super(property, condition, searchValue);
this.equalityTolerance = equalityTolerance;
}
// =================================================================================================================
// PUBLIC API
// =================================================================================================================
@Override
public double getEqualityTolerance() {
return this.equalityTolerance;
}
@Override
public Predicate
© 2015 - 2025 Weber Informatics LLC | Privacy Policy