示例#1
0
 /**
  * Anonymous bind through this projection.
  *
  * @param e The value to bind with.
  * @return An either after binding through this projection.
  */
 public <X> Either<A, X> sequence(final Either<A, X> e) {
   return bind(Function.<B, Either<A, X>>constant(e));
 }
示例#2
0
 /**
  * Anonymous bind through this projection.
  *
  * @param e The value to bind with.
  * @return An either after binding through this projection.
  */
 public <X> Either<X, B> sequence(final Either<X, B> e) {
   return bind(Function.<A, Either<X, B>>constant(e));
 }