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