Enum Class CanandcolorDigoutSlot.ClauseJoin
java.lang.Object
java.lang.Enum<CanandcolorDigoutSlot.ClauseJoin>
com.reduxrobotics.sensors.canandcolor.CanandcolorDigoutSlot.ClauseJoin
- All Implemented Interfaces:
Serializable
,Comparable<CanandcolorDigoutSlot.ClauseJoin>
,Constable
- Enclosing class:
- CanandcolorDigoutSlot
Whether the slot should "join" with the next slot at index + 1 to form a clause.
All clauses have to evaluate to true for the digital output to be true.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionJoin with the next slot using either logical AND or ORDo not join with the next slot. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static CanandcolorDigoutSlot.ClauseJoin[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
kJoinWithNextSlot
Join with the next slot using either logical AND or OR -
kTerminateClause
Do not join with the next slot.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-