Skip to content

Instantly share code, notes, and snippets.

@matthesrieke
Created April 18, 2018 20:39
Show Gist options
  • Save matthesrieke/2a6fcb35b2dbb6296ffac2c580913968 to your computer and use it in GitHub Desktop.
Save matthesrieke/2a6fcb35b2dbb6296ffac2c580913968 to your computer and use it in GitHub Desktop.
Java8Environment.java
import java.util.Arrays;
import java.util.List;
public class Java8Environment {
public static void main(String[] args) {
List<String> testList = Arrays.asList(new String[] {"a", "b", "c"});
testList.stream().forEach(s -> {
System.out.print(s);
});
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment