gnu.xquery.util
Class Compare
java.lang.Object
gnu.mapping.Procedure
gnu.mapping.Procedure2
gnu.xquery.util.Compare
- All Implemented Interfaces:
- CanInline, Named
public class Compare
- extends Procedure2
- implements CanInline
Compares two values (or sequences) according to XPath semantics.
Method Summary |
static boolean |
apply(int flags,
java.lang.Object arg1,
java.lang.Object arg2,
NamedCollator collator)
|
java.lang.Object |
apply2(java.lang.Object arg1,
java.lang.Object arg2)
|
Expression |
inline(ApplyExp exp,
ExpWalker walker)
Inline an application of this Procedure and return result. |
static Compare |
make(java.lang.String name,
int flags)
|
Methods inherited from class gnu.mapping.Procedure |
apply, apply, check0, check1, check2, check3, check4, checkArgCount, checkN, getName, getProperty, getSetter, getSymbol, match0, match1, match2, match3, match4, matchN, maxArgs, minArgs, name, removeProperty, set0, set1, setN, setName, setProperty, setProperty, setSetter, setSymbol, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
$Eq
public static final Compare $Eq
$Ex$Eq
public static final Compare $Ex$Eq
$Gr
public static final Compare $Gr
$Gr$Eq
public static final Compare $Gr$Eq
$Ls
public static final Compare $Ls
$Ls$Eq
public static final Compare $Ls$Eq
Compare
public Compare()
make
public static Compare make(java.lang.String name,
int flags)
apply
public static boolean apply(int flags,
java.lang.Object arg1,
java.lang.Object arg2,
NamedCollator collator)
apply2
public java.lang.Object apply2(java.lang.Object arg1,
java.lang.Object arg2)
- Specified by:
apply2
in class Procedure2
inline
public Expression inline(ApplyExp exp,
ExpWalker walker)
- Description copied from interface:
CanInline
- Inline an application of this Procedure and return result.
Can return original expression.
- Specified by:
inline
in interface CanInline