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.
186
+
* Returns a string representation of the array, including only the elements
187
+
* that are currently stored.
167
188
*
168
189
* @return a string containing the elements in the array
169
190
*/
@@ -227,7 +248,9 @@ public E next() {
227
248
/**
228
249
* Removes the last element returned by this iterator.
229
250
*
230
-
* @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
251
+
* @throws IllegalStateException if the next method has not yet been called, or
252
+
* the remove method has already been called after
253
+
* the last call to the next method
231
254
*/
232
255
@Override
233
256
publicvoidremove() {
@@ -242,7 +265,8 @@ public void remove() {
242
265
/**
243
266
* Checks for concurrent modifications to the array during iteration.
244
267
*
245
-
* @throws ConcurrentModificationException if the array has been modified structurally
268
+
* @throws ConcurrentModificationException if the array has been modified
0 commit comments