Closed treblereel closed 5 months ago
@gkdn I added tests to the Java9 package, mainly because it looks more suitable than the Java8 package. Wdyt?
Is this ready for another round?
Is this ready for another round?
yeap, i think so
Thanks. Doing some refactoring, will submit soon.
Thanks. Doing some refactoring, will submit soon.
What I don't like is Collections.internalSetOf((E[]) new HashSet<>(coll).toArray())
but we need to have no nulls and it looks like it's the easiest way to achieve it
Java 10 added copyOf static factory methods to produce immutable List/Set/Map instances that contain no nulls.