Class ArrayUtilsClient
java.lang.Object
it.unimi.di.prog2.s05.ArrayUtilsClient
Client for the
ArrayUtils
class.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final int
The fixed size of the input and array. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
SIZE
private static final int SIZEThe fixed size of the input and array.- See Also:
-
-
Constructor Details
-
ArrayUtilsClient
private ArrayUtilsClient().
-
-
Method Details
-
main
Reads 10 integers in increasing order from the standard input and prints the index of the integer passed as argument on the command line if found.- Parameters:
args
- the value to search for.
-