In fact, as of Java 9, you can convert an Optional to a Stream using the ... methods with the Stream type, filter , map , and flatMap .
確定! 回上一頁