Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes
F
G
I
M
N
O
P
U
F
fromJust()
- Method in class org.pocketgames.basic.
Maybe
Obtains the value inside, reporting an exception if no value has been provided.
G
getLeft()
- Method in class org.pocketgames.basic.
Pair
Returns the first element.
getRight()
- Method in class org.pocketgames.basic.
Pair
Returns the second element.
I
isJust()
- Method in class org.pocketgames.basic.
Maybe
Checks if this Maybe is not empty.
isNothing()
- Method in class org.pocketgames.basic.
Maybe
Checks if this Maybe is empty.
M
Maybe
<
X
> - Class in
org.pocketgames.basic
This class represents something similar to the Haskell type Maybe.
Maybe(X)
- Constructor for class org.pocketgames.basic.
Maybe
Default constructor for Just(Object).
N
NOTHING
- Static variable in class org.pocketgames.basic.
Maybe
A default Nothing object.
O
org.pocketgames.basic
- package org.pocketgames.basic
P
Pair
<
X
,
Y
> - Class in
org.pocketgames.basic
This class stores two elements of any kind.
Pair(X, Y)
- Constructor for class org.pocketgames.basic.
Pair
The main constructor.
U
unsafeFromJust()
- Method in class org.pocketgames.basic.
Maybe
Obtains the value inside, without throwing any exception.
F
G
I
M
N
O
P
U
Package
Class
Tree
Deprecated
Index
Help
PREV NEXT
FRAMES
NO FRAMES
All Classes