Object Mth

  • All Implemented Interfaces:

    
    public class Mth
    
                        

    Utility object for mathematical and numerical operations in the Scorpio API. This object provides methods to validate number inputs.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
      public final static Mth INSTANCE
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Boolean isValidNumber(String input) Checks if the given input string represents a valid number within the range of -1000 to 1000.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • isValidNumber

         final Boolean isValidNumber(String input)

        Checks if the given input string represents a valid number within the range of -1000 to 1000.

        Parameters:
        input - the string input to be validated
        Returns:

        true if the input is a valid integer within the specified range, false otherwise