Package main
Class Utilities
java.lang.Object
main.Utilities
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
checkArgumentsOrThrow
(int provided, int expected) static Long
handleUserInputID
(String input) static boolean
hasNextLineOrThrow
(Scanner scanner) static boolean
isNotNumeric
(String str)
-
Constructor Details
-
Utilities
public Utilities()
-
-
Method Details
-
isNotNumeric
-
handleUserInputID
-
checkArgumentsOrThrow
public static void checkArgumentsOrThrow(int provided, int expected) throws WrongAmountOfArgumentsException - Throws:
WrongAmountOfArgumentsException
-
hasNextLineOrThrow
- Throws:
StreamInterruptedException
-