Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

java streams

Arrays.asList("a1", "a2", "a3")
    .stream()
    .findFirst()
    .ifPresent(System.out::println);  // a1
Source by winterbe.com #
 
PREVIOUS NEXT
Tagged: #java #streams
ADD COMMENT
Topic
Name
7+8 =