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
()
| 272 | * @since 12.0 |
| 273 | */ |
| 274 | @GwtIncompatible // CopyOnWriteArrayList |
| 275 | public static <E> CopyOnWriteArrayList<E> newCopyOnWriteArrayList() { |
| 276 | return new CopyOnWriteArrayList<E>(); |
| 277 | } |
| 278 | |
| 279 | /** |
| 280 | * Creates a {@code CopyOnWriteArrayList} instance containing the given elements. |
nothing calls this directly
no test coverage detected