class MathUtils {

  public static boolean isLong(String numberString) {
    try {
      Long.parseLong(numberString);
      return true;
    } catch (NumberFormatException ex) {
      return false;
    }
  }

}