title: Is there an equivalent of Scala's Either in Java 8?
body: <p>Just like <code>java.util.Optional&lt;T&gt;</code> in Java 8 is (somewhat) equivalent to Scala's <code>Option[T]</code> type, is there an equivalent to Scala's <code>Either[L, R]</code>?</p>