We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e83db7e commit 6f66aa4Copy full SHA for 6f66aa4
1 file changed
core/src/main/java/fj/data/Stream.java
@@ -894,6 +894,12 @@ public final List<A> toList() {
894
return buf.toList();
895
}
896
897
+ /**
898
+ * Returns a java.util.List projection of this stream.
899
+ */
900
+ public final java.util.List<A> toJavaList() {
901
+ return new java.util.LinkedList<A>(toCollection());
902
+ }
903
904
/**
905
* Returns a array projection of this stream.
0 commit comments