Predicate predicate1 = (Predicate)o1;
Predicate predicate2 = (Predicate)o2;
cmp = compare(predicate1.getExpr(), predicate2.getExpr());
break;
case TYPE_PROCESSING_INSTRUCTION_NODE_STEP:
ProcessingInstructionNodeStep processingInstructionNodeStep1 = (ProcessingInstructionNodeStep)o1;
ProcessingInstructionNodeStep processingInstructionNodeStep2 = (ProcessingInstructionNodeStep)o2;
cmp = processingInstructionNodeStep1.getAxis() - processingInstructionNodeStep2.getAxis();
if (cmp == 0)
{
cmp = compareStrings(processingInstructionNodeStep1.getName(), processingInstructionNodeStep2.getName());
if (cmp == 0)
{
cmp = compareLists(processingInstructionNodeStep1.getPredicates(), processingInstructionNodeStep2.getPredicates());
}
}
break;
case TYPE_RELATIONAL_EXPR:
RelationalExpr relationalExpr1 = (RelationalExpr)o1;