public enum RandomUtil extends Enum<RandomUtil>
| Enum Constant and Description |
|---|
INSTANCE |
| Modifier and Type | Method and Description |
|---|---|
static int |
getInt(int max) |
static RandomUtil |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RandomUtil[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RandomUtil INSTANCE
public static RandomUtil[] values()
for (RandomUtil c : RandomUtil.values()) System.out.println(c);
public static RandomUtil 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 static int getInt(int max)
Copyright © 2012-2013 Acquity Group. All Rights Reserved.