demo01 - Stream/Optional

list.add("A sequence of elements supporting sequential and parallel aggregate operations.");
list.add("In addition to Stream, which is a stream of object references, there are primitive specializations for IntStream.");
list.add("To perform a computation, stream operations are composed into a stream pipeline.");


demo02 - Method references

// lambda expr = short-hand implementation of SAM (functional interface)
// method ref = short-hand of lambda expr