public static enum Food.LeafIdentifier extends Enum<Food.LeafIdentifier> implements org.onosproject.yang.model.LeafIdentifier
| Enum Constant and Description |
|---|
P1
Represents p1.
|
P2
Represents p2.
|
| Modifier and Type | Method and Description |
|---|---|
int |
getLeafIndex() |
static Food.LeafIdentifier |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Food.LeafIdentifier[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Food.LeafIdentifier P1
public static final Food.LeafIdentifier P2
public static Food.LeafIdentifier[] values()
for (Food.LeafIdentifier c : Food.LeafIdentifier.values()) System.out.println(c);
public static Food.LeafIdentifier 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 int getLeafIndex()
Copyright © 2017. All rights reserved.