protected Number getInteger() { // The parser should ensure the format of the string to be parsed if (this.number == null) { try { try { this.number = Long.valueOf(this.image);
} catch (NumberFormatException ignore) { // Too large for Long. Try BigInteger. this.number = new BigInteger(this.image);
}
} catch (ArithmeticException | NumberFormatException e) { // Too big for BigInteger. // Catch NumberFormatException as well here just in case the // parser provides invalid input. thrownew ELException(e);
}
} return number;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.