|
@@ -1,2 +1,60 @@
|
1
|
|
-# Java Fundamentals
|
2
|
|
-The instructions for this lab can be found in the comments of the code of the project.
|
|
1
|
+# Java Fundamentals
|
|
2
|
+* Classes to be completed
|
|
3
|
+ * MathUtilities
|
|
4
|
+ * PredicateUtilities
|
|
5
|
+ * StringUtilities
|
|
6
|
+
|
|
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).
|
|
9
|
+* A _predicate_ is a clause which states something about a subject. (_e.g., **is assigning**_ in _"Leon **is assigning** homework"_)
|
|
10
|
+
|
|
11
|
+* Method Stubs to be completed
|
|
12
|
+ * `boolean isGreaterThan(int x, int y)`
|
|
13
|
+ * `boolean isLessThan(int x, int y)`
|
|
14
|
+ * `boolean isGreaterThanOrEqualTo(int x, int y)`
|
|
15
|
+ * `boolean isLessThanOrEqualTo(int x, int y)`
|
|
16
|
+
|
|
17
|
+
|
|
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).
|
|
20
|
+* Method Stubs to be completed
|
|
21
|
+ * `Integer add(int, int)`
|
|
22
|
+ * `Long add(long, long)`
|
|
23
|
+ * `Short add(short, short)`
|
|
24
|
+ * `Byte add(byte, byte)`
|
|
25
|
+ * `Float add(float, float)`
|
|
26
|
+ * `Double add(double, double)`
|
|
27
|
+ * `Integer subtract(int, int)`
|
|
28
|
+ * `Long subtract(long, long)`
|
|
29
|
+ * `Short subtract(short, short)`
|
|
30
|
+ * `Byte subtract(byte, byte)`
|
|
31
|
+ * `Float subtract(float, float)`
|
|
32
|
+ * `Double subtract(double, double)`
|
|
33
|
+ * `Integer divide(int, int)`
|
|
34
|
+ * `Long divide(long, long)`
|
|
35
|
+ * `Short divide(short, short)`
|
|
36
|
+ * `Byte divide(byte, byte)`
|
|
37
|
+ * `Float divide(float, float)`
|
|
38
|
+ * `Double divide(double, double)`
|
|
39
|
+ * `Integer multiply(int, int)`
|
|
40
|
+ * `Long multiply(long, long)`
|
|
41
|
+ * `Short multiply(short, short)`
|
|
42
|
+ * `Byte multiply(byte, byte)`
|
|
43
|
+ * `Float multiply(float, float)`
|
|
44
|
+ * `Double multiply(double, double)`
|
|
45
|
+ * `Boolean returnTrue`
|
|
46
|
+ * `Boolean returnFalse`
|
|
47
|
+
|
|
48
|
+
|
|
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).
|
|
51
|
+* Method Stubs to be completed
|
|
52
|
+ * `String concatenation(String, String)`
|
|
53
|
+ * `String concatenation(int, String)`
|
|
54
|
+ * `String getPrefix(String)`
|
|
55
|
+ * `String getSuffix(String)`
|
|
56
|
+ * `String compareTwoStrings(String)`
|
|
57
|
+ * `Character getMiddleCharacter(String)`
|
|
58
|
+ * `String getFirstWord(String)`
|
|
59
|
+ * `String getSecondWord(String)`
|
|
60
|
+ * `String reverseTheTwo(String)`
|