Enum SoBoolOperation.Operations
- java.lang.Object
-
- java.lang.Enum<SoBoolOperation.Operations>
-
- com.openinventor.inventor.engines.SoBoolOperation.Operations
-
- All Implemented Interfaces:
IntegerValuedEnum
,java.io.Serializable
,java.lang.Comparable<SoBoolOperation.Operations>
- Enclosing class:
- SoBoolOperation
public static enum SoBoolOperation.Operations extends java.lang.Enum<SoBoolOperation.Operations> implements IntegerValuedEnum
Operation.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description A
A.A_AND_B
A and B.A_AND_NOT_B
A and not B.A_EQUALS_B
A equals B.A_NOT_EQUALS_B
A not equals B.A_OR_B
A or B.A_OR_NOT_B
A or not B.B
B.CLEAR
Clear.NOT_A
Not A.NOT_A_AND_B
Not A and B.NOT_A_AND_NOT_B
Not A and not B.NOT_A_OR_B
Not A or B.NOT_A_OR_NOT_B
Not A or not B.NOT_B
Not B.SET
Set.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getValue()
Returns the integer value of the enum constant.static SoBoolOperation.Operations
valueOf(int val)
Returns the enum constant of this type with the specified integer valuestatic SoBoolOperation.Operations
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static SoBoolOperation.Operations[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLEAR
public static final SoBoolOperation.Operations CLEAR
Clear.
-
SET
public static final SoBoolOperation.Operations SET
Set.
-
A
public static final SoBoolOperation.Operations A
A.
-
NOT_A
public static final SoBoolOperation.Operations NOT_A
Not A.
-
B
public static final SoBoolOperation.Operations B
B.
-
NOT_B
public static final SoBoolOperation.Operations NOT_B
Not B.
-
A_OR_B
public static final SoBoolOperation.Operations A_OR_B
A or B.
-
NOT_A_OR_B
public static final SoBoolOperation.Operations NOT_A_OR_B
Not A or B.
-
A_OR_NOT_B
public static final SoBoolOperation.Operations A_OR_NOT_B
A or not B.
-
NOT_A_OR_NOT_B
public static final SoBoolOperation.Operations NOT_A_OR_NOT_B
Not A or not B.
-
A_AND_B
public static final SoBoolOperation.Operations A_AND_B
A and B.
-
NOT_A_AND_B
public static final SoBoolOperation.Operations NOT_A_AND_B
Not A and B.
-
A_AND_NOT_B
public static final SoBoolOperation.Operations A_AND_NOT_B
A and not B.
-
NOT_A_AND_NOT_B
public static final SoBoolOperation.Operations NOT_A_AND_NOT_B
Not A and not B.
-
A_EQUALS_B
public static final SoBoolOperation.Operations A_EQUALS_B
A equals B.
-
A_NOT_EQUALS_B
public static final SoBoolOperation.Operations A_NOT_EQUALS_B
A not equals B.
-
-
Method Detail
-
values
public static SoBoolOperation.Operations[] 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 (SoBoolOperation.Operations c : SoBoolOperation.Operations.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SoBoolOperation.Operations 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
-
valueOf
public static SoBoolOperation.Operations valueOf(int val)
Returns the enum constant of this type with the specified integer value- Returns:
- the enum constant of this type with the specified integer value.
-
getValue
public int getValue()
Description copied from interface:IntegerValuedEnum
Returns the integer value of the enum constant.- Specified by:
getValue
in interfaceIntegerValuedEnum
- Returns:
- the integer value of the enum constant.
-
-