private bool compareVV(int k, VTDNav vn, int j, int op) { int i = vn.compareTokens(k, vn, j); switch (i) { case -1: if (op == NE || op == LT || op == LE) { return(true); } break; case 0: if (op == EQ || op == LE || op == GE) { return(true); } break; case 1: if (op == NE || op == GE || op == GT) { return(true); } break; } return(false); }
protected internal bool checkNsUniqueness(int i) { for (int j = 0; j < fib.size_Renamed_Field; j++) { if (vn.compareTokens(fib.intAt(j), vn, i) == 0) { return(false); } } fib.append(i); return(true); }