Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow copy-constructors applied to Collections
Instead of requiring a List, which is unnecessary strict. This aligns with the JDK copy constructors for lists: public ArrayList(Collection<? extends E> c) https://docs.oracle.com/javase/8/docs/api/java/util/ArrayList.html#ArrayList-java.util.Collection- List.copyOf https://docs.oracle.com/en/java/javase/21/docs/api/java.base/java/util/List.html#copyOf(java.util.Collection)
- Loading branch information