public compareTokens ( int i1, |
||
i1 | int | |
vn2 | ||
i2 | int | |
리턴 | int |
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; }