public static enum RatioNumber.Grade extends Enum<RatioNumber.Grade>
| Enum Constant and Description |
|---|
Isolated
Isolated calc, No Carry, No Borrow
|
Positive
Keep `use` and `one` positive (0), `use` takes precedence, only borrow, not carry
|
Upgraded
Keep `use` and `one` positive (0), try to carry the `use` to `one`
|
| Modifier and Type | Method and Description |
|---|---|
static RatioNumber.Grade |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RatioNumber.Grade[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RatioNumber.Grade Isolated
public static final RatioNumber.Grade Positive
public static final RatioNumber.Grade Upgraded
public static RatioNumber.Grade[] values()
for (RatioNumber.Grade c : RatioNumber.Grade.values()) System.out.println(c);
public static RatioNumber.Grade 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 © 2023. All rights reserved.