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