|
|
|
|
1
|
# Java Fundamentals
|
1
|
# Java Fundamentals
|
2
|
* Classes to be completed
|
2
|
* Classes to be completed
|
3
|
- * MathUtilities
|
|
|
4
|
- * PredicateUtilities
|
|
|
5
|
- * StringUtilities
|
|
|
|
|
3
|
+ * `MathUtilities`
|
|
|
4
|
+ * `PredicateUtilities`
|
|
|
5
|
+ * `StringUtilities`
|
6
|
|
6
|
|
7
|
## Predicate Utilities
|
7
|
## Predicate Utilities
|
8
|
-* Ensure that each of the test cases in the class [TestPredicateUtilities](./src/test/java/com/zipcodewilmington/danny_do_better_exercises/TestPredicateUtilities.java) by completing each of the method stubs in the class [PredicateUtilities](./src/main/java/com/zipcodewilmington/danny_do_better_exercises/PredicateUtilities.java).
|
|
|
|
|
8
|
+* Ensure each of the test cases passes successfully in the class [TestPredicateUtilities](./src/test/java/com/zipcodewilmington/danny_do_better_exercises/TestPredicateUtilities.java) by completing each of the method stubs in the class [PredicateUtilities](./src/main/java/com/zipcodewilmington/danny_do_better_exercises/PredicateUtilities.java).
|
9
|
* A _predicate_ is a clause which states something about a subject. (_e.g., **is assigning**_ in _"Leon **is assigning** homework"_)
|
9
|
* A _predicate_ is a clause which states something about a subject. (_e.g., **is assigning**_ in _"Leon **is assigning** homework"_)
|
10
|
|
10
|
|
11
|
* Method Stubs to be completed
|
11
|
* Method Stubs to be completed
|
|
|
|
|
16
|
|
16
|
|
17
|
|
17
|
|
18
|
## Math Utilities
|
18
|
## Math Utilities
|
19
|
-* Ensure each of the test cases in the class [TestMathUtilities](./src/test/java/com/zipcodewilmington/danny_do_better_exercises/TestMathUtilities.java) by completing each of the method stubs in the class [MathUtilities](./src/main/java/com/zipcodewilmington/danny_do_better_exercises/MathUtilities.java).
|
|
|
|
|
19
|
+* Ensure each of the test cases passes successfully in the class [TestMathUtilities](./src/test/java/com/zipcodewilmington/danny_do_better_exercises/TestMathUtilities.java) by completing each of the method stubs in the class [MathUtilities](./src/main/java/com/zipcodewilmington/danny_do_better_exercises/MathUtilities.java).
|
20
|
* Method Stubs to be completed
|
20
|
* Method Stubs to be completed
|
21
|
* `Integer add(int, int)`
|
21
|
* `Integer add(int, int)`
|
22
|
* `Long add(long, long)`
|
22
|
* `Long add(long, long)`
|
|
|
|
|
47
|
|
47
|
|
48
|
|
48
|
|
49
|
## String Utilities
|
49
|
## String Utilities
|
50
|
-* Ensure each of the test cases in the class [TestStringUtilities](./src/test/java/com/zipcodewilmington/danny_do_better_exercises/TestStringUtilities.java) by completing each of the method stubs in the class [StringUtilities](./src/main/java/com/zipcodewilmington/danny_do_better_exercises/StringUtilities.java).
|
|
|
|
|
50
|
+* Ensure each of the test cases passes successfully in the class [TestStringUtilities](./src/test/java/com/zipcodewilmington/danny_do_better_exercises/TestStringUtilities.java) by completing each of the method stubs in the class [StringUtilities](./src/main/java/com/zipcodewilmington/danny_do_better_exercises/StringUtilities.java).
|
51
|
* Method Stubs to be completed
|
51
|
* Method Stubs to be completed
|
52
|
* `String concatenation(String, String)`
|
52
|
* `String concatenation(String, String)`
|
53
|
* `String concatenation(int, String)`
|
53
|
* `String concatenation(int, String)`
|