Enum Class ClassConfidence
- All Implemented Interfaces:
Serializable, Comparable<ClassConfidence>, Constable
How trustworthy a type's value-class set is — the honesty tag for the input-variation metric.
See docs/implementation/EK9_INPUT_VARIATION_METRIC_DESIGN.md §3.2 and the companion
taxonomy. The tier falls straight out of what operators / structure a type exposes, and the
gradient is itself a useful signal: only EXACT cells are eligible for the optional
packaging gate (design §8), so the compiler never mandates tests against a guessed denominator.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionClass set AND value→class placement both unambiguous (enumerations, bounded scalars like Integer/Date/Money, ordered user types with declared reference points).A reasonable guess at the meaningful classes — String buckets, unbounded ordered types, collection cardinality.Onlyset/unsethonestly available (opaque identity types such as GUID/HMAC). -
Method Summary
Modifier and TypeMethodDescriptionstatic ClassConfidenceReturns the enum constant of this class with the specified name.static ClassConfidence[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXACT
Class set AND value→class placement both unambiguous (enumerations, bounded scalars like Integer/Date/Money, ordered user types with declared reference points). Gate-eligible. -
HEURISTIC
A reasonable guess at the meaningful classes — String buckets, unbounded ordered types, collection cardinality. Reported, never hard-gated. -
SET_UNSET_ONLY
Onlyset/unsethonestly available (opaque identity types such as GUID/HMAC). The denominator here is exactly 2.
-
-
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
-