code: public final void acceptBoth(Consumer<? super L> left, Consumer<? super R> right, L defaultLeft, R defaultRight) {
  		left.accept(isLeft() ? getLeft() : defaultLeft);
  		right.accept(isRight() ? getRight() : defaultRight);
  	}
docs: Accepts both the left and right consumers, using the default values to set the empty side.