Java: Comment in method for converting stream to Array.

This commit is contained in:
Michael Nebel
2022-10-10 11:13:32 +02:00
parent 84743ec87d
commit 0c09f78142

View File

@@ -159,8 +159,8 @@ public class Stream<T> {
return null;
}
// Issue with model generator - no models are generated.
// public <A> A[] toArray(IntFunction<A[]> generator) {
// throw null;
// }
// Models will only be partial correct as there is no mentioning of the type T.
public <A> A[] toArray(IntFunction<A[]> generator) {
return null;
}
}