Skip navigation links
A B C D E F G I L M P R 

A

apply(A, B) - Method in interface de.scravy.either.BiFunction
 
apply(R1, B) - Method in interface de.scravy.either.EitherBiFunction
 
apply(R1) - Method in interface de.scravy.either.EitherFunction
 
apply(A) - Method in interface de.scravy.either.Function
 

B

BiFunction<A,B,C> - Interface in de.scravy.either
 
bind(EitherFunction<L, R, R2>) - Method in class de.scravy.either.Either
Chains this either to a functions that accepts its right argument and returns an Either.
bind(EitherBiFunction<L, R, B, R2>, B) - Method in class de.scravy.either.Either
Chains this either to a function that accepts its rights argument and an additional argument and returns an Either.

C

consume(EitherConsumer<L>, EitherConsumer<R>) - Method in class de.scravy.either.Either
Consumes this Either.
consume(X) - Method in interface de.scravy.either.EitherConsumer
 

D

de.scravy.either - package de.scravy.either
Do you know the Either type from Haskell? So this is the crippled Java version of it (an explicit sum type).

E

Either<L,R> - Class in de.scravy.either
The Either type (an explicit sum type for Java).
Either.Left<L,R> - Class in de.scravy.either
The Left type.
Either.Right<L,R> - Class in de.scravy.either
The Right type.
EitherBiFunction<L,R1,B,R2> - Interface in de.scravy.either
 
EitherConsumer<X> - Interface in de.scravy.either
 
EitherFunction<L,R1,R2> - Interface in de.scravy.either
 
Eithers - Class in de.scravy.either
Static utility methods for dealing with Either values.
Eithers() - Constructor for class de.scravy.either.Eithers
 

F

fold(Function<L, X>, Function<R, X>) - Method in class de.scravy.either.Either
Fold the either with functions handling the Left and the Right case.
Function<A,B> - Interface in de.scravy.either
 

G

getLeft() - Method in class de.scravy.either.Either
Returns the left value (if this is a left value).
getLeft() - Method in class de.scravy.either.Either.Left
 
getRight() - Method in class de.scravy.either.Either
Returns the right value (if this is a right value).
getRight() - Method in class de.scravy.either.Either.Right
 

I

isLeft() - Method in class de.scravy.either.Either
Checks whether this Either is a left value.
isLeft() - Method in class de.scravy.either.Either.Left
 
isRight() - Method in class de.scravy.either.Either
Checks whether this Either is a right value.
isRight() - Method in class de.scravy.either.Either.Right
 

L

left(L) - Static method in class de.scravy.either.Either
Creates a left value.
left(L, Class<R>) - Static method in class de.scravy.either.Either
Creates a left value.
Left() - Constructor for class de.scravy.either.Either.Left
 

M

map(Function<R, R2>) - Method in class de.scravy.either.Either
Chains this either to an ordinary function.
map(BiFunction<R, B, R2>, B) - Method in class de.scravy.either.Either
Chains this either to an ordinary function.

P

parition(Collection<Either<L, R>>) - Static method in class de.scravy.either.Eithers
 
partitionInto(Collection<Either<L, R>>, Collection<L>, Collection<R>) - Static method in class de.scravy.either.Eithers
 

R

right(R) - Static method in class de.scravy.either.Either
Creates a right value.
right(R, Class<L>) - Static method in class de.scravy.either.Either
Creates a right value.
Right() - Constructor for class de.scravy.either.Either.Right
 
A B C D E F G I L M P R 
Skip navigation links

Copyright © 2015. All rights reserved.