public class Collections extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
allocateIterators
When true,
Iterable.iterator() for Array, ObjectMap, and other collections will allocate a new
iterator for each invocation. |
| Constructor and Description |
|---|
Collections() |
public static boolean allocateIterators
Iterable.iterator() for Array, ObjectMap, and other collections will allocate a new
iterator for each invocation. When false, the iterator is reused and nested use will throw an exception. Default is
false.Copyright © 2021. All rights reserved.