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