text: public static CmpOp GetOperator(String value){int len = value.Length;if (len < 1){return OP_NONE;}char firstChar = value[0];switch (firstChar){case '=':return OP_EQ;case '>':if (len > 1){switch (value[1]){case '=':return OP_GE;}}return OP_GT;case '<':if (len > 1){switch (value[1]){case '=':return OP_LE;case '>':return OP_NE;}}return OP_LT;}return OP_NONE;}