public static enum MainUpdateVersionTest.Force extends Enum<MainUpdateVersionTest.Force>
Modifier and Type | Method and Description |
---|---|
boolean |
toBoolean() |
static MainUpdateVersionTest.Force |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MainUpdateVersionTest.Force[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MainUpdateVersionTest.Force No
public static final MainUpdateVersionTest.Force Yes
public static MainUpdateVersionTest.Force[] values()
for (MainUpdateVersionTest.Force c : MainUpdateVersionTest.Force.values()) System.out.println(c);
public static MainUpdateVersionTest.Force 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 boolean toBoolean()
Copyright © 2015–2016 Hobrasoft s.r.o.. All rights reserved.