result4j Porting the Result and Option type to Java using sealed classes and the pattern matching on switch functonality in upcoming JDK releases