Package hydra.mantle

Class Either.Right<A,​B>

  • All Implemented Interfaces:
    java.io.Serializable
    Enclosing class:
    Either<A,​B>

    public static final class Either.Right<A,​B>
    extends Either<A,​B>
    implements java.io.Serializable
    See Also:
    Serialized Form
    • Field Detail

      • value

        public final B value
    • Constructor Detail

      • Right

        public Right​(B value)
    • Method Detail

      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object