public static enum SamplePlayer.InterpolationType extends java.lang.Enum<SamplePlayer.InterpolationType>
Enum Constant and Description |
---|
ADAPTIVE
Use context dependent interpolation: NONE above 2x, CUBIC below 0.5x,
LINEAR otherwise.
|
CUBIC
Use cubic interpolation.
|
LINEAR
Use linear interpolation.
|
NONE
Use no interpolation.
|
Modifier and Type | Method and Description |
---|---|
static SamplePlayer.InterpolationType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SamplePlayer.InterpolationType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SamplePlayer.InterpolationType NONE
public static final SamplePlayer.InterpolationType LINEAR
public static final SamplePlayer.InterpolationType CUBIC
public static final SamplePlayer.InterpolationType ADAPTIVE
public static SamplePlayer.InterpolationType[] values()
for (SamplePlayer.InterpolationType c : SamplePlayer.InterpolationType.values()) System.out.println(c);
public static SamplePlayer.InterpolationType 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 null