com.dooapp.gaedo.blueprints.queries.tests.GreaterThan Maven / Gradle / Ivy
package com.dooapp.gaedo.blueprints.queries.tests;
import com.dooapp.gaedo.blueprints.GraphDatabaseDriver;
import com.dooapp.gaedo.blueprints.strategies.GraphMappingStrategy;
import com.dooapp.gaedo.properties.Property;
public class GreaterThan>
extends ComparableValuedVertexTest
implements VertexTest {
public GreaterThan(GraphMappingStrategy> strategy, GraphDatabaseDriver driver, Iterable p, ComparableType expected, boolean strictly) {
super(strategy, driver, p, expected, strictly);
}
@Override
protected boolean doCompare(ComparableType effective) {
return strictly ? compareCasted(effective, expected)>0 : compareCasted(effective, expected)>=0;
}
@Override
public void accept(VertexTestVisitor visitor) {
visitor.visit(this);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy