Enum Class SetOperationCornerCases.UnionAction
java.lang.Object
java.lang.Enum<SetOperationCornerCases.UnionAction>
org.apache.datasketches.thetacommon.SetOperationCornerCases.UnionAction
- All Implemented Interfaces:
Serializable
,Comparable<SetOperationCornerCases.UnionAction>
,Constable
- Enclosing class:
- SetOperationCornerCases
public static enum SetOperationCornerCases.UnionAction
extends Enum<SetOperationCornerCases.UnionAction>
List of union actions
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionDegenerate{MinTheta, 0, F}Degenerate{ThetaA, 0, F}Degenerate{ThetaB, 0, F}Empty{1.0, 0, T}Full UnionSketch A ExactlySketch B ExactlyTrim Sketch A by MinThetaTrim Sketch B by MinTheta -
Method Summary
Modifier and TypeMethodDescriptionGets the action descriptionGets the action IDReturns the enum constant of this class with the specified name.static SetOperationCornerCases.UnionAction[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
SKETCH_A
Sketch A Exactly -
TRIM_A
Trim Sketch A by MinTheta -
SKETCH_B
Sketch B Exactly -
TRIM_B
Trim Sketch B by MinTheta -
DEGEN_MIN_0_F
Degenerate{MinTheta, 0, F} -
DEGEN_THA_0_F
Degenerate{ThetaA, 0, F} -
DEGEN_THB_0_F
Degenerate{ThetaB, 0, F} -
EMPTY_1_0_T
Empty{1.0, 0, T} -
FULL_UNION
Full Union
-
-
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
-
getActionId
Gets the action ID- Returns:
- the actionId
-
getActionDescription
Gets the action description- Returns:
- the actionDescription
-