Пример #1
0
 /**
  * Checks if the specified string is "no", "false" or "off".
  *
  * @param string string to be checked
  * @return result of check
  */
 public static boolean no(final String string) {
   return Token.eqic(string, NO, FALSE, OFF, INFOOFF);
 }
Пример #2
0
 /**
  * Checks if the specified string is "yes", "true" or "on".
  *
  * @param string string to be checked
  * @return result of check
  */
 public static boolean yes(final String string) {
   return Token.eqic(string, YES, TRUE, ON, INFOON);
 }