public enum InterpolationMethod extends java.lang.Enum<InterpolationMethod>
枚举常量和说明 |
---|
AVERAGE |
CONSERVATIVE |
FIXED_VALUE |
N_NEAREST_NEIGHBOR |
PATCH_RECOVERY |
SMOOTHED_PATCH_RECOVERY |
SOURCE2TARGET_MAP |
USER_FILE |
限定符和类型 | 字段和说明 |
---|---|
private java.lang.String |
name |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equalsName(java.lang.String otherName) |
static InterpolationMethod |
fromName(java.lang.String name)
select Interpolation method from name when create Interpolation
|
java.lang.String |
getName() |
static boolean |
isValidName(java.lang.String name)
check the name is in the list of Interpolation method
|
java.lang.String |
toString() |
static InterpolationMethod |
valueOf(java.lang.String name)
返回带有指定名称的该类型的枚举常量。
|
static InterpolationMethod[] |
values()
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。
|
public static final InterpolationMethod AVERAGE
public static final InterpolationMethod N_NEAREST_NEIGHBOR
public static final InterpolationMethod CONSERVATIVE
public static final InterpolationMethod PATCH_RECOVERY
public static final InterpolationMethod FIXED_VALUE
public static final InterpolationMethod USER_FILE
public static final InterpolationMethod SOURCE2TARGET_MAP
public static final InterpolationMethod SMOOTHED_PATCH_RECOVERY
public static InterpolationMethod[] values()
for (InterpolationMethod c : InterpolationMethod.values()) System.out.println(c);
public static InterpolationMethod valueOf(java.lang.String name)
name
- 要返回的枚举常量的名称。java.lang.IllegalArgumentException
- 如果该枚举类型没有带有指定名称的常量java.lang.NullPointerException
- 如果参数为空值public java.lang.String getName()
public boolean equalsName(java.lang.String otherName)
public static boolean isValidName(java.lang.String name)
name
- String representation of InterpolationMethod
public static InterpolationMethod fromName(java.lang.String name)
name
- String representation of InterpolationMethod
public java.lang.String toString()
toString
在类中 java.lang.Enum<InterpolationMethod>