public enum Smoothness extends Enum<Smoothness>
| Enum Constant and Description |
|---|
BAD |
EXCELLENT |
GOOD |
HORRIBLE |
IMPASSABLE |
INTERMEDIATE |
MISSING |
OTHER |
VERY_BAD |
VERY_HORRIBLE |
| Modifier and Type | Method and Description |
|---|---|
static Smoothness |
find(String name) |
String |
toString() |
static Smoothness |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Smoothness[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Smoothness MISSING
public static final Smoothness EXCELLENT
public static final Smoothness GOOD
public static final Smoothness INTERMEDIATE
public static final Smoothness BAD
public static final Smoothness VERY_BAD
public static final Smoothness HORRIBLE
public static final Smoothness VERY_HORRIBLE
public static final Smoothness IMPASSABLE
public static final Smoothness OTHER
public static final String KEY
public static Smoothness[] values()
for (Smoothness c : Smoothness.values()) System.out.println(c);
public static Smoothness 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<Smoothness>public static Smoothness find(String name)
Copyright © 2012–2022. All rights reserved.