Enum KeyCycle.Wave
- java.lang.Object
-
- java.lang.Enum<KeyCycle.Wave>
-
- androidx.constraintlayout.core.dsl.KeyCycle.Wave
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<KeyCycle.Wave>
- Enclosing class:
- KeyCycle
public static enum KeyCycle.Wave extends java.lang.Enum<KeyCycle.Wave>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyCycle.WavevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static KeyCycle.Wave[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIN
public static final KeyCycle.Wave SIN
-
SQUARE
public static final KeyCycle.Wave SQUARE
-
TRIANGLE
public static final KeyCycle.Wave TRIANGLE
-
SAW
public static final KeyCycle.Wave SAW
-
REVERSE_SAW
public static final KeyCycle.Wave REVERSE_SAW
-
COS
public static final KeyCycle.Wave COS
-
-
Method Detail
-
values
public static KeyCycle.Wave[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (KeyCycle.Wave c : KeyCycle.Wave.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeyCycle.Wave valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-