| Modifier and Type | Class and Description |
|---|---|
static interface |
Make.Cases<R> |
| Enum Constant and Description |
|---|
caseOfMatching |
casesMatching |
catamorphism |
constructors |
factory |
getters |
lambdaVisitor |
lazyConstructor |
modifiers |
| Modifier and Type | Method and Description |
|---|---|
abstract <R> R |
match(Make.Cases<R> cases) |
static Make |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Make[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Make lambdaVisitor
public static final Make constructors
public static final Make lazyConstructor
public static final Make casesMatching
public static final Make caseOfMatching
public static final Make getters
public static final Make modifiers
public static final Make catamorphism
public static final Make factory
public static Make[] values()
for (Make c : Make.values()) System.out.println(c);
public static Make 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(Make.Cases<R> cases)