FizzBuzz/Java: Difference between revisions

→‎Lambda with Arrays: postincrement didn't do anything other than mislead the reader
imported>Er2
No edit summary
imported>Er2
(→‎Lambda with Arrays: postincrement didn't do anything other than mislead the reader)
Line 92:
public static void main( String [] args ) {
int [] x = new int [100];
Arrays.setAll(x, j -> j++);
Arrays.stream(x).forEach(i -> {
if(i == 0) return;
Anonymous user