public static enum LoanPatch.SideEnum extends Enum<LoanPatch.SideEnum>
| Modifier and Type | Class and Description |
|---|---|
static class |
LoanPatch.SideEnum.Adapter |
| Modifier and Type | Method and Description |
|---|---|
static LoanPatch.SideEnum |
fromValue(String value) |
String |
getValue() |
String |
toString() |
static LoanPatch.SideEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LoanPatch.SideEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LoanPatch.SideEnum LEND
public static final LoanPatch.SideEnum BORROW
public static LoanPatch.SideEnum[] values()
for (LoanPatch.SideEnum c : LoanPatch.SideEnum.values()) System.out.println(c);
public static LoanPatch.SideEnum 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 nullpublic String getValue()
public String toString()
toString in class Enum<LoanPatch.SideEnum>public static LoanPatch.SideEnum fromValue(String value)
Copyright © 2021. All rights reserved.