Class Either.Left<A,B>
- java.lang.Object
-
- org.intermine.webservice.server.core.Either<A,B>
-
- org.intermine.webservice.server.core.Either.Left<A,B>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.intermine.webservice.server.core.Either
Either.Left<A,B>, Either.Right<A,B>
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T> T
accept(EitherVisitor<A,B,T> visitor)
How you go about accessing the values.int
hashCode()
java.lang.String
toString()
-
-
-
Constructor Detail
-
Left
public Left(A a)
Construct a left.- Parameters:
a
- The content of this Either.
-
-
Method Detail
-
accept
public <T> T accept(EitherVisitor<A,B,T> visitor)
Description copied from class:Either
How you go about accessing the values.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-