public enum FacePersistency extends Enum<FacePersistency>
Enum Constant and Description |
---|
NONE |
ON_DEMAND |
PERMANENT |
PERSISTENT |
Modifier and Type | Method and Description |
---|---|
static FacePersistency |
fromInteger(int value)
Convert NFD code to FacePersistency enum.
|
int |
toInteger()
Convert FacePersistency to the NFD code.
|
static FacePersistency |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FacePersistency[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FacePersistency NONE
public static final FacePersistency PERSISTENT
public static final FacePersistency ON_DEMAND
public static final FacePersistency PERMANENT
public static FacePersistency[] values()
for (FacePersistency c : FacePersistency.values()) System.out.println(c);
public static FacePersistency 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 final int toInteger()
public static FacePersistency fromInteger(int value)
value
- NFD's FacePersistency codeCopyright © 2016. All rights reserved.