Serializable, Comparable<Grid.Pattern>public static enum Grid.Pattern extends Enum<Grid.Pattern>
| Enum Constant | Description |
|---|---|
COUPLED |
|
INDEPENDENT |
| Modifier and Type | Method | 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 © 2021. All rights reserved.