public static enum Model.PartType extends Enum<Model.PartType>
Enum Constant and Description |
---|
lAnkle |
lEar |
lElbow |
lEye |
lHip |
lKnee |
lShoulder |
lWrist |
neck |
nose |
rAnkle |
rEar |
rElbow |
rEye |
rHip |
rKnee |
rShoulder |
rWist |
Modifier and Type | Method and Description |
---|---|
int |
getId() |
static Model.PartType |
of(int id) |
static Model.PartType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Model.PartType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Model.PartType nose
public static final Model.PartType neck
public static final Model.PartType rShoulder
public static final Model.PartType rElbow
public static final Model.PartType rWist
public static final Model.PartType lShoulder
public static final Model.PartType lElbow
public static final Model.PartType lWrist
public static final Model.PartType rHip
public static final Model.PartType rKnee
public static final Model.PartType rAnkle
public static final Model.PartType lHip
public static final Model.PartType lKnee
public static final Model.PartType lAnkle
public static final Model.PartType rEye
public static final Model.PartType lEye
public static final Model.PartType rEar
public static final Model.PartType lEar
public static Model.PartType[] values()
for (Model.PartType c : Model.PartType.values()) System.out.println(c);
public static Model.PartType 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 static Model.PartType of(int id)
public int getId()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.