public static enum Dog.Object1.Breed extends Enum<Dog.Object1.Breed>
| Modifier and Type | Method and Description |
|---|---|
static Dog.Object1.Breed |
fromValue(Object value) |
String |
value() |
static Dog.Object1.Breed |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Dog.Object1.Breed[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Dog.Object1.Breed POODLE
public static final Dog.Object1.Breed CROSS
public static Dog.Object1.Breed[] values()
for (Dog.Object1.Breed c : Dog.Object1.Breed.values()) System.out.println(c);
public static Dog.Object1.Breed 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 value()
public static Dog.Object1.Breed fromValue(Object value)
Copyright © 2023. All rights reserved.