Left<L, R> class
Constructors
- Left.new(L _l)
-
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- left → A
-
Available on Either<
A, B> , provided by the EitherX extensionno setter - right → B
-
Available on Either<
A, B> , provided by the EitherX extensionno setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- value → L
-
no setter
Methods
-
all(
bool f(R r)) → bool -
inherited
-
andThen<
R2> (covariant Either< L, R2> next) → Either<L, R2> -
inherited
-
any(
bool f(R r)) → bool -
inherited
-
ap<
B> (covariant Either< L, Function1< ff) → Either<R, B> >L, B> -
inherited
-
bimap<
LL, RR> (LL ifLeft(L l), RR ifRight(R r)) → Either< LL, RR> -
inherited
-
bind<
R2> (covariant Function1< R, Either< f) → Either<L, R2> >L, R2> -
inherited
-
concatenate(
Monoid< R> mi) → R -
inherited
-
concatenateO(
Semigroup< R> si) → Option<R> -
inherited
-
ensure(
bool predicate(R r), R fallback()) → Either< L, R> -
inherited
-
every(
bool f(R r)) → bool -
inherited
-
filter(
bool predicate(R r), L fallback()) → Either< L, R> -
inherited
-
flatMap<
R2> (covariant Function1< R, Either< f) → Either<L, R2> >L, R2> -
inherited
-
fold<
B> (B ifLeft(L l), B ifRight(R r)) → B -
override
-
foldLeft<
B> (B z, B f(B previous, R r)) → B -
inherited
-
foldLeftWithIndex<
B> (B z, B f(B previous, int i, R r)) → B -
inherited
-
foldMap<
B> (Monoid< B> bMonoid, B f(R r)) → B -
inherited
-
foldMapO<
B> (Semigroup< B> si, B f(R r)) → Option<B> -
inherited
-
foldRight<
B> (B z, B f(R r, B previous)) → B -
inherited
-
foldRightWithIndex<
B> (B z, B f(int i, R r, B previous)) → B -
inherited
-
forEach(
void sideEffect(R r)) → void -
inherited
-
getLeft(
) → A -
Available on Either<
A, B> , provided by the EitherX extension -
getOrElse(
R dflt()) → R -
inherited
-
getRight(
) → B -
Available on Either<
A, B> , provided by the EitherX extension -
intercalate(
Monoid< R> mi, R r) → R -
inherited
-
isLeft(
) → bool -
inherited
-
isRight(
) → bool -
inherited
-
iterator(
) → Iterator< R> -
inherited
-
leftMap<
L2> (L2 f(L l)) → Either< L2, R> -
inherited
-
length(
) → int -
inherited
-
map<
R2> (R2 f(R r)) → Either< L, R2> -
inherited
-
mapWithIndex<
B> (B f(int i, R r)) → Either< L, B> -
inherited
-
maximum(
Order< R> or) → Option<R> -
inherited
-
minimum(
Order< R> or) → Option<R> -
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
orElse(
Either< L, R> other()) → Either<L, R> -
inherited
-
replace<
B> (B replacement) → Either< L, B> -
inherited
-
reverse(
) → Either< L, R> -
inherited
-
strengthL<
B> (B b) → Either< L, Tuple2< B, R> > -
inherited
-
strengthR<
B> (B b) → Either< L, Tuple2< R, B> > -
inherited
-
swap(
) → Either< R, L> -
inherited
-
toIterable(
) → Iterable< R> -
inherited
-
toOption(
) → Option< R> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
traverseFuture<
R2> (Future< R2> f(R r)) → Future<Either< L, R2> > -
inherited
-
traverseIList<
R2> (IList< R2> f(R r)) → IList<Either< L, R2> > -
inherited
-
traverseIVector<
R2> (IVector< R2> f(R r)) → IVector<Either< L, R2> > -
inherited
-
traverseState<
S, R2> (State< S, R2> f(R r)) → State<S, Either< L, R2> > -
inherited
-
traverseTask<
R2> (Task< R2> f(R r)) → Task<Either< L, R2> > -
inherited
-
where(
bool predicate(R r), L fallback()) → Either< L, R> -
inherited
-
zipWithIndex(
) → Either< L, Tuple2< int, R> > -
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
-
operator |(
R dflt) → R -
inherited