You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Returns a string representation of the array, including only the elements that are currently stored.
187
+
* Returns a string representation of the array, including only the elements
188
+
* that are currently stored.
182
189
*
183
190
* @return a string containing the elements in the array
184
191
*/
@@ -242,7 +249,9 @@ public E next() {
242
249
/**
243
250
* Removes the last element returned by this iterator.
244
251
*
245
-
* @throws IllegalStateException if the next method has not yet been called, or the remove method has already been called after the last call to the next method
252
+
* @throws IllegalStateException if the next method has not yet been called, or
253
+
* the remove method has already been called after
254
+
* the last call to the next method
246
255
*/
247
256
@Override
248
257
publicvoidremove() {
@@ -257,7 +266,8 @@ public void remove() {
257
266
/**
258
267
* Checks for concurrent modifications to the array during iteration.
259
268
*
260
-
* @throws ConcurrentModificationException if the array has been modified structurally
269
+
* @throws ConcurrentModificationException if the array has been modified
0 commit comments