Creates an empty CopyOnWriteArrayList instance. Note: if you need an immutable empty List, use Collections#emptyList instead. @return a new, empty CopyOnWriteArrayList @since 12.0
()
| 280 | */ |
| 281 | |
| 282 | @GwtIncompatible // CopyOnWriteArrayList |
| 283 | public static <E> CopyOnWriteArrayList<E> newCopyOnWriteArrayList() { |
| 284 | return new CopyOnWriteArrayList<E>(); |
| 285 | } |
| 286 | |
| 287 | /** |
| 288 | * Creates a {@code CopyOnWriteArrayList} instance containing the given elements. |
nothing calls this directly
no test coverage detected