Enum SplitLocation
- All Implemented Interfaces:
Serializable
,Comparable<SplitLocation>
Enumeration representing the location of a split object with respect
to its splitting
hyperplane
.-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionValue indicating that the split object lies in both the plus and minus sides of the splitting hyperplane.Value indicating that the split object lies entirely on the minus side of the splitting hyperplane.Value indicating that the split object lies neither on the plus or minus sides of the splitting hyperplane.Value indicating that the split object lies entirely on the plus side of the splitting hyperplane. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic SplitLocation
Returns the enum constant of this type with the specified name.static SplitLocation[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PLUS
Value indicating that the split object lies entirely on the plus side of the splitting hyperplane. -
MINUS
Value indicating that the split object lies entirely on the minus side of the splitting hyperplane. -
BOTH
Value indicating that the split object lies in both the plus and minus sides of the splitting hyperplane. -
NEITHER
Value indicating that the split object lies neither on the plus or minus sides of the splitting hyperplane. This is the case when the object lies entirely on the hyperplane or is empty (and therefore "lies" nowhere).
-
-
Constructor Details
-
SplitLocation
private SplitLocation()
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-