public static class Precondition.NumericComparisonPrecondition extends Precondition
Precondition.BooleanPrecondition, Precondition.NumericComparisonPrecondition, Precondition.StringHashPrecondition| Constructor and Description |
|---|
NumericComparisonPrecondition(Characteristic<NumericValue> characteristic,
long required) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
boolean |
testPrecondition(PreconditionMatcher matcher)
Compute the value of the precondition for a given item.
|
java.lang.String |
toString() |
isSatisfied, setSlotNumberpublic NumericComparisonPrecondition(Characteristic<NumericValue> characteristic, long required)
public boolean testPrecondition(PreconditionMatcher matcher) throws XPathException
PreconditiontestPrecondition in class Preconditionmatcher - the PreconditionMatcher: holds the dynamic context for evaluation.XPathException - if evaluation of the precondition fails with a dynamic errorpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.ObjectCopyright (c) 2004-2020 Saxonica Limited. All rights reserved.