Whitney Martinez 6 лет назад
Родитель
Сommit
e935300954
8 измененных файлов: 189 добавлений и 75 удалений
  1. Двоичные данные
      MathUtilities.class
  2. 36
    34
      MathUtilities.ctxt
  3. 60
    26
      MathUtilities.java
  4. Двоичные данные
      PredicateUtilities.class
  5. 27
    4
      PredicateUtilities.java
  6. Двоичные данные
      StringUtilities.class
  7. 1
    1
      StringUtilities.ctxt
  8. 65
    10
      StringUtilities.java

Двоичные данные
MathUtilities.class Просмотреть файл


+ 36
- 34
MathUtilities.ctxt Просмотреть файл

@@ -5,78 +5,80 @@ comment1.params=baseValue\ difference
5 5
 comment1.target=java.lang.Integer\ add(int,\ int)
6 6
 comment1.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ add\ to\ starting\ value\n\ @return\ sum\ of\ `baseValue`\ and\ `difference`\n
7 7
 comment10.params=baseValue\ difference
8
-comment10.target=java.lang.Byte\ subtract(byte,\ byte)
8
+comment10.target=java.lang.Short\ subtract(short,\ short)
9 9
 comment10.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ subtract\ from\ starting\ value\n\ @return\ difference\ between\ `baseValue`\ and\ `difference`\n
10 10
 comment11.params=baseValue\ difference
11
-comment11.target=java.lang.Float\ subtract(float,\ float)
11
+comment11.target=java.lang.Byte\ subtract(byte,\ byte)
12 12
 comment11.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ subtract\ from\ starting\ value\n\ @return\ difference\ between\ `baseValue`\ and\ `difference`\n
13 13
 comment12.params=baseValue\ difference
14
-comment12.target=java.lang.Double\ subtract(double,\ double)
14
+comment12.target=java.lang.Float\ subtract(float,\ float)
15 15
 comment12.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ subtract\ from\ starting\ value\n\ @return\ difference\ between\ `baseValue`\ and\ `difference`\n
16
-comment13.params=dividend\ divisor
17
-comment13.target=java.lang.Integer\ divide(int,\ int)
18
-comment13.text=\n\ @param\ dividend\ value\ to\ be\ divided\n\ @param\ divisor\ value\ to\ divide\ by\n\ @return\ division\ of\ `dividend`\ by\ `divisor\n
16
+comment13.params=baseValue\ difference
17
+comment13.target=java.lang.Double\ subtract(double,\ double)
18
+comment13.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ subtract\ from\ starting\ value\n\ @return\ difference\ between\ `baseValue`\ and\ `difference`\n
19 19
 comment14.params=dividend\ divisor
20
-comment14.target=java.lang.Long\ divide(long,\ long)
20
+comment14.target=java.lang.Integer\ divide(int,\ int)
21 21
 comment14.text=\n\ @param\ dividend\ value\ to\ be\ divided\n\ @param\ divisor\ value\ to\ divide\ by\n\ @return\ division\ of\ `dividend`\ by\ `divisor\n
22 22
 comment15.params=dividend\ divisor
23
-comment15.target=java.lang.Short\ divide(short,\ short)
23
+comment15.target=java.lang.Long\ divide(long,\ long)
24 24
 comment15.text=\n\ @param\ dividend\ value\ to\ be\ divided\n\ @param\ divisor\ value\ to\ divide\ by\n\ @return\ division\ of\ `dividend`\ by\ `divisor\n
25 25
 comment16.params=dividend\ divisor
26
-comment16.target=java.lang.Byte\ divide(byte,\ byte)
26
+comment16.target=java.lang.Short\ divide(short,\ short)
27 27
 comment16.text=\n\ @param\ dividend\ value\ to\ be\ divided\n\ @param\ divisor\ value\ to\ divide\ by\n\ @return\ division\ of\ `dividend`\ by\ `divisor\n
28 28
 comment17.params=dividend\ divisor
29
-comment17.target=java.lang.Float\ divide(float,\ float)
29
+comment17.target=java.lang.Byte\ divide(byte,\ byte)
30 30
 comment17.text=\n\ @param\ dividend\ value\ to\ be\ divided\n\ @param\ divisor\ value\ to\ divide\ by\n\ @return\ division\ of\ `dividend`\ by\ `divisor\n
31 31
 comment18.params=dividend\ divisor
32
-comment18.target=java.lang.Double\ divide(double,\ double)
32
+comment18.target=java.lang.Float\ divide(float,\ float)
33 33
 comment18.text=\n\ @param\ dividend\ value\ to\ be\ divided\n\ @param\ divisor\ value\ to\ divide\ by\n\ @return\ division\ of\ `dividend`\ by\ `divisor\n
34
-comment19.params=multiplicand\ multiplier
35
-comment19.target=java.lang.Integer\ multiply(int,\ int)
36
-comment19.text=\n\ @param\ multiplicand\ value\ to\ be\ multiplied\n\ @param\ multiplier\ value\ to\ multiply\ by\n\ @return\ product\ of\ `multiplicand`\ by\ `multiplier`\n
34
+comment19.params=dividend\ divisor
35
+comment19.target=java.lang.Double\ divide(double,\ double)
36
+comment19.text=\n\ @param\ dividend\ value\ to\ be\ divided\n\ @param\ divisor\ value\ to\ divide\ by\n\ @return\ division\ of\ `dividend`\ by\ `divisor\n
37 37
 comment2.params=baseValue\ difference
38 38
 comment2.target=java.lang.Long\ add(long,\ long)
39 39
 comment2.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ add\ to\ starting\ value\n\ @return\ sum\ of\ `baseValue`\ and\ `difference`\n
40 40
 comment20.params=multiplicand\ multiplier
41
-comment20.target=java.lang.Long\ multiply(long,\ long)
41
+comment20.target=java.lang.Integer\ multiply(int,\ int)
42 42
 comment20.text=\n\ @param\ multiplicand\ value\ to\ be\ multiplied\n\ @param\ multiplier\ value\ to\ multiply\ by\n\ @return\ product\ of\ `multiplicand`\ by\ `multiplier`\n
43 43
 comment21.params=multiplicand\ multiplier
44
-comment21.target=java.lang.Short\ multiply(short,\ short)
44
+comment21.target=java.lang.Long\ multiply(long,\ long)
45 45
 comment21.text=\n\ @param\ multiplicand\ value\ to\ be\ multiplied\n\ @param\ multiplier\ value\ to\ multiply\ by\n\ @return\ product\ of\ `multiplicand`\ by\ `multiplier`\n
46 46
 comment22.params=multiplicand\ multiplier
47
-comment22.target=java.lang.Byte\ multiply(byte,\ byte)
47
+comment22.target=java.lang.Short\ multiply(short,\ short)
48 48
 comment22.text=\n\ @param\ multiplicand\ value\ to\ be\ multiplied\n\ @param\ multiplier\ value\ to\ multiply\ by\n\ @return\ product\ of\ `multiplicand`\ by\ `multiplier`\n
49 49
 comment23.params=multiplicand\ multiplier
50
-comment23.target=java.lang.Float\ multiply(float,\ float)
50
+comment23.target=java.lang.Byte\ multiply(byte,\ byte)
51 51
 comment23.text=\n\ @param\ multiplicand\ value\ to\ be\ multiplied\n\ @param\ multiplier\ value\ to\ multiply\ by\n\ @return\ product\ of\ `multiplicand`\ by\ `multiplier`\n
52 52
 comment24.params=multiplicand\ multiplier
53
-comment24.target=java.lang.Double\ multiply(double,\ double)
53
+comment24.target=java.lang.Float\ multiply(float,\ float)
54 54
 comment24.text=\n\ @param\ multiplicand\ value\ to\ be\ multiplied\n\ @param\ multiplier\ value\ to\ multiply\ by\n\ @return\ product\ of\ `multiplicand`\ by\ `multiplier`\n
55
-comment25.params=
56
-comment25.target=java.lang.Boolean\ returnTrue()
57
-comment25.text=\n\ @return\ true\n
55
+comment25.params=multiplicand\ multiplier
56
+comment25.target=java.lang.Double\ multiply(double,\ double)
57
+comment25.text=\n\ @param\ multiplicand\ value\ to\ be\ multiplied\n\ @param\ multiplier\ value\ to\ multiply\ by\n\ @return\ product\ of\ `multiplicand`\ by\ `multiplier`\n
58 58
 comment26.params=
59
-comment26.target=java.lang.Boolean\ returnFalse()
60
-comment26.text=\n\ @return\ false\n
59
+comment26.target=java.lang.Boolean\ returnTrue()
60
+comment26.text=\n\ @return\ true\n
61
+comment27.params=
62
+comment27.target=java.lang.Boolean\ returnFalse()
63
+comment27.text=\n\ @return\ false\n
61 64
 comment3.params=baseValue\ difference
62 65
 comment3.target=java.lang.Short\ add(short,\ short)
63 66
 comment3.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ add\ to\ starting\ value\n\ @return\ sum\ of\ `baseValue`\ and\ `difference`\n
64
-comment4.params=baseValue\ difference
65
-comment4.target=java.lang.Byte\ add(byte,\ byte)
66
-comment4.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ add\ to\ starting\ value\n\ @return\ sum\ of\ `baseValue`\ and\ `difference`\n
67
+comment4.params=
68
+comment4.target=int\ cont()
67 69
 comment5.params=baseValue\ difference
68
-comment5.target=java.lang.Float\ add(float,\ float)
70
+comment5.target=java.lang.Byte\ add(byte,\ byte)
69 71
 comment5.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ add\ to\ starting\ value\n\ @return\ sum\ of\ `baseValue`\ and\ `difference`\n
70 72
 comment6.params=baseValue\ difference
71
-comment6.target=java.lang.Double\ add(double,\ double)
73
+comment6.target=java.lang.Float\ add(float,\ float)
72 74
 comment6.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ add\ to\ starting\ value\n\ @return\ sum\ of\ `baseValue`\ and\ `difference`\n
73 75
 comment7.params=baseValue\ difference
74
-comment7.target=java.lang.Integer\ subtract(int,\ int)
75
-comment7.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ subtract\ from\ starting\ value\n\ @return\ difference\ between\ `baseValue`\ and\ `difference`\n
76
+comment7.target=java.lang.Double\ add(double,\ double)
77
+comment7.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ add\ to\ starting\ value\n\ @return\ sum\ of\ `baseValue`\ and\ `difference`\n
76 78
 comment8.params=baseValue\ difference
77
-comment8.target=java.lang.Long\ subtract(long,\ long)
79
+comment8.target=java.lang.Integer\ subtract(int,\ int)
78 80
 comment8.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ subtract\ from\ starting\ value\n\ @return\ difference\ between\ `baseValue`\ and\ `difference`\n
79 81
 comment9.params=baseValue\ difference
80
-comment9.target=java.lang.Short\ subtract(short,\ short)
82
+comment9.target=java.lang.Long\ subtract(long,\ long)
81 83
 comment9.text=\n\ @param\ baseValue\ \ starting\ value\n\ @param\ difference\ value\ to\ subtract\ from\ starting\ value\n\ @return\ difference\ between\ `baseValue`\ and\ `difference`\n
82
-numComments=27
84
+numComments=28

+ 60
- 26
MathUtilities.java Просмотреть файл

@@ -11,7 +11,8 @@ public class MathUtilities {
11 11
      * @return sum of `baseValue` and `difference`
12 12
      */
13 13
     public Integer add(int baseValue, int difference) {
14
-        return null;
14
+        int container = baseValue + difference;
15
+        return container;
15 16
     }
16 17
 
17 18
     /**
@@ -20,7 +21,8 @@ public class MathUtilities {
20 21
      * @return sum of `baseValue` and `difference`
21 22
      */
22 23
     public Long add(long baseValue, long difference) {
23
-        return null;
24
+        long container = baseValue + difference;
25
+        return container; 
24 26
     }
25 27
 
26 28
     /**
@@ -29,8 +31,18 @@ public class MathUtilities {
29 31
      * @return sum of `baseValue` and `difference`
30 32
      */
31 33
     public Short add(short baseValue, short difference) {
32
-        return null;
34
+        
35
+        int container = baseValue;
36
+        int container2 = difference;
37
+        
38
+        int total = (container) + (container2); 
39
+        return (short)total;
33 40
     }
41
+    
42
+    public int cont (){
43
+        return 0;
44
+    }
45
+    
34 46
 
35 47
     /**
36 48
      * @param baseValue  starting value
@@ -38,7 +50,8 @@ public class MathUtilities {
38 50
      * @return sum of `baseValue` and `difference`
39 51
      */
40 52
     public Byte add(byte baseValue, byte difference) {
41
-        return null;
53
+       int container =  baseValue + difference;
54
+       return (byte)(container) ;
42 55
     }
43 56
 
44 57
     /**
@@ -47,7 +60,8 @@ public class MathUtilities {
47 60
      * @return sum of `baseValue` and `difference`
48 61
      */
49 62
     public Float add(float baseValue, float difference) {
50
-        return null;
63
+        float container = baseValue + difference;
64
+        return container;
51 65
     }
52 66
 
53 67
     /**
@@ -56,7 +70,8 @@ public class MathUtilities {
56 70
      * @return sum of `baseValue` and `difference`
57 71
      */
58 72
     public Double add(double baseValue, double difference) {
59
-        return null;
73
+        double container = baseValue + difference;
74
+        return container;
60 75
     }
61 76
 
62 77
     /**
@@ -65,7 +80,8 @@ public class MathUtilities {
65 80
      * @return difference between `baseValue` and `difference`
66 81
      */
67 82
     public Integer subtract(int baseValue, int difference) {
68
-        return null;
83
+        int container = baseValue - difference; 
84
+        return container; 
69 85
     }
70 86
 
71 87
     /**
@@ -74,7 +90,8 @@ public class MathUtilities {
74 90
      * @return difference between `baseValue` and `difference`
75 91
      */
76 92
     public Long subtract(long baseValue, long difference) {
77
-        return null;
93
+        long container = baseValue - difference;
94
+        return container;
78 95
     }
79 96
 
80 97
     /**
@@ -83,7 +100,8 @@ public class MathUtilities {
83 100
      * @return difference between `baseValue` and `difference`
84 101
      */
85 102
     public Short subtract(short baseValue, short difference) {
86
-        return null;
103
+        int container = baseValue - difference;
104
+        return (short) container; 
87 105
     }
88 106
 
89 107
     /**
@@ -92,7 +110,8 @@ public class MathUtilities {
92 110
      * @return difference between `baseValue` and `difference`
93 111
      */
94 112
     public Byte subtract(byte baseValue, byte difference) {
95
-        return null;
113
+        int container  = baseValue - difference;
114
+        return (byte)container;
96 115
     }
97 116
 
98 117
     /**
@@ -101,7 +120,8 @@ public class MathUtilities {
101 120
      * @return difference between `baseValue` and `difference`
102 121
      */
103 122
     public Float subtract(float baseValue, float difference) {
104
-        return null;
123
+        float container = baseValue - difference;
124
+        return container; 
105 125
     }
106 126
 
107 127
     /**
@@ -110,7 +130,8 @@ public class MathUtilities {
110 130
      * @return difference between `baseValue` and `difference`
111 131
      */
112 132
     public Double subtract(double baseValue, double difference) {
113
-        return null;
133
+        double container = baseValue - difference; 
134
+        return container; 
114 135
     }
115 136
 
116 137
 
@@ -120,7 +141,8 @@ public class MathUtilities {
120 141
      * @return division of `dividend` by `divisor
121 142
      */
122 143
     public Integer divide(int dividend, int divisor) {
123
-        return null;
144
+        int container = dividend / divisor;
145
+        return container; 
124 146
     }
125 147
 
126 148
     /**
@@ -129,7 +151,8 @@ public class MathUtilities {
129 151
      * @return division of `dividend` by `divisor
130 152
      */
131 153
     public Long divide(long dividend, long divisor) {
132
-        return null;
154
+        long container = dividend / divisor;
155
+        return container;
133 156
     }
134 157
 
135 158
     /**
@@ -138,7 +161,9 @@ public class MathUtilities {
138 161
      * @return division of `dividend` by `divisor
139 162
      */
140 163
     public Short divide(short dividend, short divisor) {
141
-        return null;
164
+        int container = dividend / divisor; 
165
+        return (short) container; 
166
+        
142 167
     }
143 168
 
144 169
     /**
@@ -147,7 +172,8 @@ public class MathUtilities {
147 172
      * @return division of `dividend` by `divisor
148 173
      */
149 174
     public Byte divide(byte dividend, byte divisor) {
150
-        return null;
175
+        int container = dividend / divisor;
176
+        return (byte) container;
151 177
     }
152 178
 
153 179
     /**
@@ -156,7 +182,8 @@ public class MathUtilities {
156 182
      * @return division of `dividend` by `divisor
157 183
      */
158 184
     public Float divide(float dividend, float divisor) {
159
-        return null;
185
+        float container = dividend / divisor; 
186
+        return container; 
160 187
     }
161 188
 
162 189
     /**
@@ -165,7 +192,8 @@ public class MathUtilities {
165 192
      * @return division of `dividend` by `divisor
166 193
      */
167 194
     public Double divide(double dividend, double divisor) {
168
-        return null;
195
+        double container = dividend / divisor; 
196
+        return container; 
169 197
     }
170 198
 
171 199
 
@@ -175,7 +203,8 @@ public class MathUtilities {
175 203
      * @return product of `multiplicand` by `multiplier`
176 204
      */
177 205
     public Integer multiply(int multiplicand, int multiplier) {
178
-        return null;
206
+        int container = multiplicand * multiplier;
207
+        return container; 
179 208
     }
180 209
 
181 210
     /**
@@ -184,7 +213,8 @@ public class MathUtilities {
184 213
      * @return product of `multiplicand` by `multiplier`
185 214
      */
186 215
     public Long multiply(long multiplicand, long multiplier) {
187
-        return null;
216
+        long container = multiplicand * multiplier; 
217
+        return container; 
188 218
     }
189 219
 
190 220
     /**
@@ -193,7 +223,8 @@ public class MathUtilities {
193 223
      * @return product of `multiplicand` by `multiplier`
194 224
      */
195 225
     public Short multiply(short multiplicand, short multiplier) {
196
-        return null;
226
+        int container = multiplicand * multiplier;
227
+        return (short)container; 
197 228
     }
198 229
     /**
199 230
      * @param multiplicand value to be multiplied
@@ -201,7 +232,8 @@ public class MathUtilities {
201 232
      * @return product of `multiplicand` by `multiplier`
202 233
      */
203 234
     public Byte multiply(byte multiplicand, byte multiplier) {
204
-        return null;
235
+        int container = multiplicand * multiplier;
236
+        return (byte)container;
205 237
     }
206 238
 
207 239
     /**
@@ -210,7 +242,8 @@ public class MathUtilities {
210 242
      * @return product of `multiplicand` by `multiplier`
211 243
      */
212 244
     public Float multiply(float multiplicand, float multiplier) {
213
-        return null;
245
+        float container = multiplicand * multiplier; 
246
+        return container; 
214 247
     }
215 248
 
216 249
     /**
@@ -219,7 +252,8 @@ public class MathUtilities {
219 252
      * @return product of `multiplicand` by `multiplier`
220 253
      */
221 254
     public Double multiply(double multiplicand, double multiplier) {
222
-        return null;
255
+        double container = multiplicand * multiplier;
256
+        return container;
223 257
     }
224 258
 
225 259
 
@@ -227,14 +261,14 @@ public class MathUtilities {
227 261
       * @return true
228 262
      */
229 263
     public Boolean returnTrue() {
230
-        return null;
264
+        return true;
231 265
     }
232 266
 
233 267
     /**
234 268
      * @return false
235 269
      */
236 270
     public Boolean returnFalse() {
237
-        return null;
271
+        return false; 
238 272
     }
239 273
 
240 274
 }

Двоичные данные
PredicateUtilities.class Просмотреть файл


+ 27
- 4
PredicateUtilities.java Просмотреть файл

@@ -10,7 +10,14 @@ public class PredicateUtilities {
10 10
      * @return true if `x` is greater than `y`
11 11
      */
12 12
     public Boolean isGreaterThan(int x, int y) {
13
-        return null;
13
+        
14
+        if(x > y){
15
+            
16
+            return true;
17
+        
18
+        }
19
+        
20
+        return false; 
14 21
     }
15 22
 
16 23
     /**
@@ -19,7 +26,13 @@ public class PredicateUtilities {
19 26
      * @return true if `x` is less than `y`
20 27
      */
21 28
     public Boolean isLessThan(int x, int y) {
22
-        return null;
29
+        if(x < y){
30
+        
31
+            return true;
32
+        
33
+        }
34
+        
35
+        return false;
23 36
     }
24 37
 
25 38
     /**
@@ -28,7 +41,12 @@ public class PredicateUtilities {
28 41
      * @return true if `x` is greater than or equal to `y`
29 42
      */
30 43
     public Boolean isGreaterThanOrEqualTo(int x, int y) {
31
-        return null;
44
+        if( x >= y)
45
+        {
46
+            return true;
47
+        
48
+        }
49
+        return false;
32 50
     }
33 51
 
34 52
     /**
@@ -37,6 +55,11 @@ public class PredicateUtilities {
37 55
      * @return true if `x` is less than or equal to `y`
38 56
      */
39 57
     public Boolean isLessThanOrEqualTo(int x, int y) {
40
-        return null;
58
+        if (x <= y){
59
+        
60
+            return true;
61
+        
62
+        }
63
+        return false; 
41 64
     }
42 65
 }

Двоичные данные
StringUtilities.class Просмотреть файл


+ 1
- 1
StringUtilities.ctxt Просмотреть файл

@@ -18,7 +18,7 @@ comment4.target=java.lang.String\ getPrefix(java.lang.String)
18 18
 comment4.text=\n\ @param\ input\ a\ string\ to\ be\ manipulated\n\ @return\ the\ first\ 3\ characters\ of\ `input`\n
19 19
 comment5.params=input
20 20
 comment5.target=java.lang.String\ getSuffix(java.lang.String)
21
-comment5.text=\n\ @param\ input\ a\ string\ to\ be\ manipulated\n\ @return\ the\ last\ 3\ characters\ of\ `input`\n
21
+comment5.text=\n\ @param\ input\ string\ to\ be\ manipulated\n\ @return\ the\ last\ 3\ characters\ of\ `input`\n
22 22
 comment6.params=inputValue\ comparableValue
23 23
 comment6.target=java.lang.Boolean\ compareTwoStrings(java.lang.String,\ java.lang.String)
24 24
 comment6.text=\n\ @param\ inputValue\ the\ value\ to\ be\ compared\n\ @param\ comparableValue\ the\ value\ to\ be\ compared\ against\n\ @return\ the\ equivalence\ of\ two\ strings,\ `inputValue`\ and\ `comparableValue`\n

+ 65
- 10
StringUtilities.java Просмотреть файл

@@ -8,7 +8,9 @@ public class StringUtilities {
8 8
      * @return `Hello World` as a string
9 9
      */
10 10
     public static String getHelloWorld() {
11
-        return null;
11
+        
12
+        String x = "Hello World";
13
+        return x;
12 14
     }
13 15
 
14 16
     /**
@@ -17,7 +19,8 @@ public class StringUtilities {
17 19
      * @return the concatenation of two strings, `firstSegment`, and `secondSegment`
18 20
      */
19 21
     public static String concatenation(String firstSegment, String secondSegment){
20
-        return null;
22
+        String complete = firstSegment + secondSegment; 
23
+        return complete; 
21 24
     }
22 25
 
23 26
     /**
@@ -26,7 +29,9 @@ public class StringUtilities {
26 29
      * @return the concatenation of an integer, `firstSegment`, and a String, `secondSegment`
27 30
      */
28 31
     public static String concatenation(int firstSegment, String secondSegment){
29
-        return null;
32
+        String complete = firstSegment + secondSegment; 
33
+        return complete;
34
+        
30 35
     }
31 36
 
32 37
     /**
@@ -34,15 +39,33 @@ public class StringUtilities {
34 39
      * @return the first 3 characters of `input`
35 40
      */
36 41
     public static String getPrefix(String input){
37
-        return null;
42
+        
43
+       
44
+        if(input.length()<= 3){
45
+         return input;
46
+        }
47
+        return input.substring(0,3);
48
+        
38 49
     }
39 50
 
40 51
     /**
41
-     * @param input a string to be manipulated
52
+     * @param input string to be manipulated
42 53
      * @return the last 3 characters of `input`
43 54
      */
44 55
     public static String getSuffix(String input){
45
-        return null;
56
+        
57
+        /*
58
+        for(int i = input.length(); i>=0; i-- ){
59
+            
60
+             hold= hold + input.charAt(i);
61
+            
62
+        }
63
+        */
64
+        return input.substring(input.length()-3,input.length());
65
+        
66
+        
67
+        
68
+        
46 69
     }
47 70
 
48 71
     /**
@@ -51,7 +74,13 @@ public class StringUtilities {
51 74
      * @return the equivalence of two strings, `inputValue` and `comparableValue`
52 75
      */
53 76
     public static Boolean compareTwoStrings(String inputValue, String comparableValue){
54
-        return null;
77
+        
78
+       
79
+        if(inputValue.equals(comparableValue)){
80
+           return true;
81
+        }
82
+        return false;
83
+        
55 84
     }
56 85
 
57 86
     /**
@@ -59,7 +88,25 @@ public class StringUtilities {
59 88
      * @return the middle character of `inputValue`
60 89
      */
61 90
     public static Character getMiddleCharacter(String inputValue){
62
-        return null;
91
+        int middle;
92
+        char sum1;
93
+        
94
+        
95
+        if( inputValue.length() % 2 == 0){
96
+            
97
+            middle = inputValue.length()/2-1;
98
+            
99
+            sum1 = inputValue.charAt(middle);
100
+            
101
+        
102
+        }else{
103
+            middle = inputValue.length()/2;
104
+            sum1 = inputValue.charAt(middle);
105
+       
106
+            
107
+        }
108
+        return sum1;
109
+        
63 110
     }
64 111
 
65 112
     /**
@@ -67,7 +114,7 @@ public class StringUtilities {
67 114
      * @return the first sequence of characters
68 115
      */
69 116
     public static String getFirstWord(String spaceDelimitedString){
70
-        return null;
117
+        
71 118
     }
72 119
 
73 120
     /**
@@ -83,6 +130,14 @@ public class StringUtilities {
83 130
      * @return an identical string with characters in reverse order.
84 131
      */
85 132
     public static String reverse(String stringToReverse){
86
-        return null;
133
+        
134
+        String hold = "";
135
+        
136
+         for(int i = stringToReverse.length()-1; i>=0; i-- ){
137
+            
138
+             hold= hold + stringToReverse.charAt(i);
139
+            
140
+        }
141
+        return hold;
87 142
     }
88 143
 }