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