D E G I L R
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.Left() - Constructor for class de.scravy.either.Either.Left
-
- Either.Right<L,R> - Class in de.scravy.either
-
The Right type.
- Either.Right() - Constructor for class de.scravy.either.Either.Right
-
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.
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.
D E G I L R
Copyright © 2015. All rights reserved.