Package org.tinfour.common
Enum BootstrapUtility.BootstrapTestResult
- java.lang.Object
-
- java.lang.Enum<BootstrapUtility.BootstrapTestResult>
-
- org.tinfour.common.BootstrapUtility.BootstrapTestResult
-
- All Implemented Interfaces:
Serializable,Comparable<BootstrapUtility.BootstrapTestResult>
- Enclosing class:
- BootstrapUtility
public static enum BootstrapUtility.BootstrapTestResult extends Enum<BootstrapUtility.BootstrapTestResult>
Indicates the results of the evaluation for a set of input points.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CollinearPointSetIndicates that all input vertices are collinear or nearly collinear within the specified thresholds.InsufficientPointSetIndicates that the point set is insufficiently large for analysisTrivialPointSetIndicates that all input vertices are coincident or nearly coincident, so that no meaningful computations are possible within the specified thresholds.UnknownIndicates that the routine was unable to find a valid bootstrap triangle from the input vertex set.ValidIndicates that the routine was able to find a valid bootstrap triangle from the input vertex set.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static BootstrapUtility.BootstrapTestResultvalueOf(String name)Returns the enum constant of this type with the specified name.static BootstrapUtility.BootstrapTestResult[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
InsufficientPointSet
public static final BootstrapUtility.BootstrapTestResult InsufficientPointSet
Indicates that the point set is insufficiently large for analysis
-
TrivialPointSet
public static final BootstrapUtility.BootstrapTestResult TrivialPointSet
Indicates that all input vertices are coincident or nearly coincident, so that no meaningful computations are possible within the specified thresholds.
-
CollinearPointSet
public static final BootstrapUtility.BootstrapTestResult CollinearPointSet
Indicates that all input vertices are collinear or nearly collinear within the specified thresholds.
-
Valid
public static final BootstrapUtility.BootstrapTestResult Valid
Indicates that the routine was able to find a valid bootstrap triangle from the input vertex set.
-
Unknown
public static final BootstrapUtility.BootstrapTestResult Unknown
Indicates that the routine was unable to find a valid bootstrap triangle from the input vertex set. It is still possible that one might be found through an exhaustive search.
-
-
Method Detail
-
values
public static BootstrapUtility.BootstrapTestResult[] 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 (BootstrapUtility.BootstrapTestResult c : BootstrapUtility.BootstrapTestResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static BootstrapUtility.BootstrapTestResult valueOf(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-