public enum ResamplingType extends java.lang.Enum<ResamplingType>
Enum Constant and Description |
---|
WITH_REPLACEMENT |
WITHOUT_REPLACEMENT |
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
humanReadable |
Modifier and Type | Method and Description |
---|---|
static ResamplingType |
fromName(java.lang.String name)
Create an ResamplingType from a string name.
|
java.lang.String |
toString()
Get the human readable string name for this ResamplingType.
|
static ResamplingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResamplingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResamplingType WITH_REPLACEMENT
public static final ResamplingType WITHOUT_REPLACEMENT
public static ResamplingType[] values()
for (ResamplingType c : ResamplingType.values()) System.out.println(c);
public static ResamplingType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String toString()
toString
in class java.lang.Enum<ResamplingType>
public static ResamplingType fromName(java.lang.String name)
name
-