Interface IntegerParser


  • public interface IntegerParser
    A utility interface to parse integers.
    • Method Summary

      Static Methods 
      Modifier and Type Method Description
      static Integer tryParse​(String integer)
      Parses an integer from a string.
    • Method Detail

      • tryParse

        static Integer tryParse​(String integer)
        Parses an integer from a string.
        Parameters:
        integer - the string to parse
        Returns:
        the integer parsed or null if the string is not a valid integer