|
|
|
|
18
|
|
18
|
|
19
|
|
19
|
|
20
|
<br><br><br><br>
|
20
|
<br><br><br><br>
|
21
|
-## Sample Behavior - `StringArrayUtils.removeValues(array, valueToRemove)`
|
|
|
|
|
21
|
+## Sample Behavior<br> `StringArrayUtils.removeValues(array, valueToRemove)`
|
22
|
* **Description**
|
22
|
* **Description**
|
23
|
* Given an array of `String` objects named `array` and a `String` object named `valueToRemove`<br>create and return an array containing identical contents excluding objects whose value is equivalent to `valueToRemove`. Ensure that the length of the newly created array has been resized based on the removal of the undesired elements.
|
23
|
* Given an array of `String` objects named `array` and a `String` object named `valueToRemove`<br>create and return an array containing identical contents excluding objects whose value is equivalent to `valueToRemove`. Ensure that the length of the newly created array has been resized based on the removal of the undesired elements.
|
24
|
|
24
|
|
|
|
|
|
104
|
|
104
|
|
105
|
|
105
|
|
106
|
<br><br><br><br>
|
106
|
<br><br><br><br>
|
107
|
-## Sample Behavior - `StringArrayUtils.getNumberOfOccurrences(array, value)`
|
|
|
|
|
107
|
+## Sample Behavior<br> `StringArrayUtils.getNumberOfOccurrences(array, value)`
|
108
|
* **Method Description**
|
108
|
* **Method Description**
|
109
|
* Given an array of `String` objects named `array` and a `String` object named `value`<br>return the number of times `value` appears in `arrays`
|
109
|
* Given an array of `String` objects named `array` and a `String` object named `value`<br>return the number of times `value` appears in `arrays`
|
110
|
|
110
|
|
|
|
|
|
195
|
|
195
|
|
196
|
|
196
|
|
197
|
<br><br><br><br>
|
197
|
<br><br><br><br>
|
198
|
-## Sample Behavior - `StringArrayUtils.contains(array, value)`
|
|
|
|
|
198
|
+## Sample Behavior<br> `StringArrayUtils.contains(array, value)`
|
199
|
|
199
|
|
200
|
### Example 1
|
200
|
### Example 1
|
201
|
* Sample Script
|
201
|
* Sample Script
|
|
|
|
|
242
|
|
242
|
|
243
|
```
|
243
|
```
|
244
|
false
|
244
|
false
|
245
|
- ```
|
|
|
|
|
245
|
+ ```
|