stemlaur··on A better (than Optional) maybe for JavaI would make the abstract class "Maybe" a sealed class with None and Some being the only permitted implementation So that clients can use pattern matching (enhanced switch)