| Modifier and Type | Class and Description |
|---|---|
static interface |
Flavour.Cases<R> |
| Enum Constant and Description |
|---|
Cyclops |
FJ |
Fugue |
Fugue2 |
Guava |
HighJ |
Javaslang |
JDK |
Vavr |
| Modifier and Type | Method and Description |
|---|---|
abstract <R> R |
match(Flavour.Cases<R> cases) |
static Flavour |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Flavour[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Flavour JDK
public static final Flavour FJ
public static final Flavour Fugue
public static final Flavour Fugue2
public static final Flavour Javaslang
public static final Flavour Vavr
public static final Flavour HighJ
public static final Flavour Guava
public static final Flavour Cyclops
public static Flavour[] values()
for (Flavour c : Flavour.values()) System.out.println(c);
public static Flavour valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract <R> R match(Flavour.Cases<R> cases)