Klasse IntegerParser

java.lang.Object
edu.hm.hafner.analysis.util.IntegerParser

public final class IntegerParser extends Object
Parses integers from string values.
Autor:
Ullrich Hafner
  • Methodendetails

    • parseInt

      public static int parseInt(@CheckForNull String number)
      Converts a number (represented by the specified String) to an integer value. If the string is not a valid number, then 0 is returned. This method does not throw exceptions if the value is invalid.
      Parameter:
      number - the line number (as a string)
      Gibt zurück:
      the converted number
      Siehe auch: