public abstract class BinaryNumericTest<Node> extends TestFunction<Node>
| Modifier and Type | Field and Description |
|---|---|
protected DoubleTransformer<Node> |
transformer |
| Constructor and Description |
|---|
BinaryNumericTest() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
apply(RDFBackend<Node> backend,
Node context,
Collection<Node>... args)
Apply the function to the list of nodes passed as arguments and return the result as type T.
|
String |
getSignature()
A string describing the signature of this node function, e.g.
|
protected abstract boolean |
test(Double left,
Double right) |
protected boolean |
test(RDFBackend<Node> backend,
Node leftNode,
Node rightNode) |
getLocalName, getPathExpressionclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDescriptionprotected final DoubleTransformer<Node> transformer
@SafeVarargs public final Boolean apply(RDFBackend<Node> backend, Node context, Collection<Node>... args) throws IllegalArgumentException
NodeFunctioncontext - the context of the execution. Same as using the
NodeSelector '.' as parameter.args - a nested list of KiWiNodesIllegalArgumentExceptionprotected boolean test(RDFBackend<Node> backend, Node leftNode, Node rightNode)
public String getSignature()
NodeFunctionCopyright © 2012–2018 The Apache Software Foundation. All rights reserved.