org.deri.iris.builtins
Class IriStringBuiltin
java.lang.Object
org.deri.iris.builtins.AbstractBuiltin
org.deri.iris.builtins.BooleanBuiltin
org.deri.iris.builtins.IriStringBuiltin
- All Implemented Interfaces:
- Comparable<IAtom>, IAtom, IBuiltinAtom
public class IriStringBuiltin
- extends BooleanBuiltin
Represents the RIF built-in predicate func:iri-string.
|
Method Summary |
protected boolean |
computeResult(ITerm[] terms)
Compute the result of the comparison. |
IriStringBuiltin
public IriStringBuiltin(ITerm... terms)
- Creates the built-in for the specified terms.
- Parameters:
terms - The terms.
- Throws:
NullPointerException - If one of the terms is null.
IllegalArgumentException - If the number of terms submitted is not
2 .
computeResult
protected boolean computeResult(ITerm[] terms)
- Description copied from class:
BooleanBuiltin
- Compute the result of the comparison.
- Specified by:
computeResult in class BooleanBuiltin
- Parameters:
terms - The terms
- Returns:
- The result of the comparison.