public static enum ToStringBuilder.DetailLevel extends Enum<ToStringBuilder.DetailLevel>
| Enum Constant and Description |
|---|
LONG
The long mode
|
SHORT
The short mode
|
| Modifier and Type | Method and Description |
|---|---|
static ToStringBuilder.DetailLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ToStringBuilder.DetailLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ToStringBuilder.DetailLevel SHORT
public static final ToStringBuilder.DetailLevel LONG
public static ToStringBuilder.DetailLevel[] values()
for (ToStringBuilder.DetailLevel c : ToStringBuilder.DetailLevel.values()) System.out.println(c);
public static ToStringBuilder.DetailLevel 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 nullCopyright © 2012-2013 Batoo. All Rights Reserved.