Just like java.util.Optional in Java 8 is (somewhat) equivalent to Scala\'s Option[T] type, is there an equivalent to Scala\'s Eithe
java.util.Optional
Option[T]
Eithe
See Atlassian Fugue. There is a good implementation of Either there.
Either