L - the left typeR - the right typepublic class Either<L,R> extends Object
left or rightpublic Either(L left, R right)
left - optional; if specified then right must be nullright - optional; if specified then left must be nullIllegalArgumentException - if both are null or both are non-nullCopyright © 2016. All rights reserved.