public enum RectangleSide extends Enum<RectangleSide>
| Modifier and Type | Method and Description |
|---|---|
static RectangleSide |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RectangleSide[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RectangleSide TOP
public static final RectangleSide LEFT
public static final RectangleSide RIGHT
public static final RectangleSide BOTTOM
public static RectangleSide[] values()
for (RectangleSide c : RectangleSide.values()) System.out.println(c);
public static RectangleSide 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 © 2021 Corpuslinguistic working group Humboldt University Berlin. All rights reserved.