Enum KeyCycles.Wave
- java.lang.Object
-
- java.lang.Enum<KeyCycles.Wave>
-
- androidx.constraintlayout.core.dsl.KeyCycles.Wave
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<KeyCycles.Wave>
- Enclosing class:
- KeyCycles
public static enum KeyCycles.Wave extends java.lang.Enum<KeyCycles.Wave>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyCycles.WavevalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static KeyCycles.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 KeyCycles.Wave SIN
-
SQUARE
public static final KeyCycles.Wave SQUARE
-
TRIANGLE
public static final KeyCycles.Wave TRIANGLE
-
SAW
public static final KeyCycles.Wave SAW
-
REVERSE_SAW
public static final KeyCycles.Wave REVERSE_SAW
-
COS
public static final KeyCycles.Wave COS
-
-
Method Detail
-
values
public static KeyCycles.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 (KeyCycles.Wave c : KeyCycles.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 KeyCycles.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
-
-