This Java project provides utility classes for your java project.
Note: First, compile the io.java file, before compiling the other files to avoid any errors.
- Navigate to the directory containing your java program files.
- Compile the
io.javafile:javac io.java
click me for more information
| Method Name | Description |
|---|---|
print(int i_ids) |
Prints an integer. |
print(String s_names) |
Prints a string. |
print(float f_float) |
Prints a float. |
print(double d_double) |
Prints a double. |
print(long l_long) |
Prints a long. |
print(char c_char) |
Prints a char. |
print(boolean b_boolean) |
Prints a boolean. |
inputI(String prompt) |
Prompts for and reads an integer input from the user. |
inputS(String prompt) |
Prompts for and reads a string input from the user. |
inputF(String inputfloat) |
Prompts for and reads a float input from the user. |
inputD(String inputdouble) |
Prompts for and reads a double input from the user. |
inputL(String inputlong) |
Prompts for and reads a long input from the user. |
inputC(String inputchar) |
Prompts for and reads a char input from the user. |
inputB(String inputbool) |
Prompts for and reads a boolean input from the user. |
| Method Name | Description |
|---|---|
add(int... numbers) |
Adds a series of integer values. |
add(float... numbers) |
Adds a series of float values. |
add(double... numbers) |
Adds a series of double values. |
sub(int... numbers) |
Subtracts a series of integer values. |
sub(float... numbers) |
Subtracts a series of float values. |
sub(double... numbers) |
Subtracts a series of double values. |
multi(int... numbers) |
Multiplies a series of integer values. |
multi(float... numbers) |
Multiplies a series of float values. |
multi(double... numbers) |
Multiplies a series of double values. |
div(int numerator, int denominator) |
Divides an integer by another integer. |
div(float numerator, float denominator) |
Divides a float by another float. |
div(double numerator, double denominator) |
Divides a double by another double. |
isEven(int number) |
Checks if an integer is even. |
isEven(float number) |
Checks if a float is even. |
isEven(double number) |
Checks if a double is even. |
isOdd(int number) |
Checks if an integer is odd. |
isOdd(float number) |
Checks if a float is odd. |
isOdd(double number) |
Checks if a double is odd. |
isPass(int number, int target_number) |
Checks if an integer meets or exceeds a target value. |
isPass(float number, float target_number) |
Checks if a float meets or exceeds a target value. |
isPass(double number, double target_number) |
Checks if a double meets or exceeds a target value. |
isFail(int number, int target_number) |
Checks if an integer fails to meet a target value. |
isFail(float number, float target_number) |
Checks if a float fails to meet a target value. |
isFail(double number, double target_number) |
Checks if a double fails to meet a target value. |
Licensed under GNU General Public License v3.0 for details check it now.