Package lc.verification
Class Verify
- java.lang.Object
-
- lc.verification.Verify
-
public class Verify extends java.lang.Object
Class to make sure the input string is legal.
-
-
Constructor Summary
Constructors Constructor Description Verify()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
main(java.lang.String[] args)
static void
verify2DString(java.lang.String s)
To verify the input string to be converted to a 2D array.static void
verifyString(java.lang.String s)
To verify the input string.
-
-
-
Method Detail
-
verifyString
public static void verifyString(java.lang.String s)
To verify the input string. Throws corresponding error messages for references.- Parameters:
s
- the input string.
-
verify2DString
public static void verify2DString(java.lang.String s)
To verify the input string to be converted to a 2D array.- Parameters:
s
- the input string.
-
main
public static void main(java.lang.String[] args)
-
-