3 ms·
"There are more methods in Java's Optional class, but they are irrelevant for the discussion in this article." This statement represents a bad misunderstanding
by kelseyfrancis 12y ago
"There are more methods in Java's Optional class, but they are irrelevant for the discussion in this article."
This statement represents a bad misunderstanding of the point of Optional. The fact that is has map, flatMap, and ifPresent methods is _very_ relevant to the discussion in this article.