public abstract class NumericConstraint<T> extends java.lang.Object implements java.util.function.Predicate<Value>, Predicate<Value>
Modifier | Constructor and Description |
---|---|
protected |
NumericConstraint(java.lang.String definition) |
Modifier and Type | Method and Description |
---|---|
boolean |
apply(@Nullable Value value)
Deprecated.
use
test(Value) instead (see OAK-8874) |
protected boolean |
equals(T val,
T bound) |
protected abstract T |
getBound(java.lang.String bound) |
protected abstract T |
getValue(Value value) |
protected boolean |
greater(T val,
T bound) |
protected boolean |
greaterOrEqual(T val,
T bound) |
protected abstract boolean |
less(T val,
T bound) |
protected boolean |
lessOrEqual(T val,
T bound) |
boolean |
test(@Nullable Value value) |
java.lang.String |
toString() |
protected abstract T getBound(java.lang.String bound)
public boolean test(@Nullable @Nullable Value value)
@Deprecated public boolean apply(@Nullable @Nullable Value value)
test(Value)
instead (see OAK-8874)protected abstract T getValue(Value value) throws RepositoryException
RepositoryException
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2012–2022 The Apache Software Foundation. All rights reserved.