public enum DeriveMode extends Enum<DeriveMode>
| Enum Constant and Description |
|---|
BOTH
Iterates over each child, uses current child's traits
to decide what traits to require from the other
children.
|
LEFT_FIRST
Uses the left most child's traits to decide what
traits to require from the other children.
|
OMAKASE
Leave it to you, you decide what you cook.
|
PROHIBITED
Trait derivation is prohibited.
|
RIGHT_FIRST
Uses the right most child's traits to decide what
traits to require from the other children.
|
| Modifier and Type | Method and Description |
|---|---|
static DeriveMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeriveMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeriveMode LEFT_FIRST
public static final DeriveMode RIGHT_FIRST
public static final DeriveMode BOTH
public static final DeriveMode OMAKASE
public static final DeriveMode PROHIBITED
public static DeriveMode[] values()
for (DeriveMode c : DeriveMode.values()) System.out.println(c);
public static DeriveMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2012-2022 Apache Software Foundation. All Rights Reserved.