Enum LocalizedStatFormats

java.lang.Object
java.lang.Enum<LocalizedStatFormats>
org.hipparchus.stat.LocalizedStatFormats
All Implemented Interfaces:
Serializable, Comparable<LocalizedStatFormats>, java.lang.constant.Constable, Localizable

public enum LocalizedStatFormats extends Enum<LocalizedStatFormats> implements Localizable
Enumeration for localized messages formats used in exceptions messages.

The constants in this enumeration represent the available formats as localized strings. These formats are intended to be localized using simple properties files, using the constant name as the key and the property value as the message format. The source English format is provided in the constants themselves to serve both as a reminder for developers to understand the parameters needed by each format, as a basis for translators to create localized properties files, and as a default format if some translation is missing.

  • Enum Constant Details

    • TIES_ARE_NOT_ALLOWED

      public static final LocalizedStatFormats TIES_ARE_NOT_ALLOWED
      TIES_ARE_NOT_ALLOWED.
    • INSUFFICIENT_DATA_FOR_T_STATISTIC

      public static final LocalizedStatFormats INSUFFICIENT_DATA_FOR_T_STATISTIC
      INSUFFICIENT_DATA_FOR_T_STATISTIC.
    • NOT_ENOUGH_DATA_REGRESSION

      public static final LocalizedStatFormats NOT_ENOUGH_DATA_REGRESSION
      NOT_ENOUGH_DATA_REGRESSION.
    • INVALID_REGRESSION_OBSERVATION

      public static final LocalizedStatFormats INVALID_REGRESSION_OBSERVATION
      INVALID_REGRESSION_OBSERVATION.
    • NOT_ENOUGH_DATA_FOR_NUMBER_OF_PREDICTORS

      public static final LocalizedStatFormats NOT_ENOUGH_DATA_FOR_NUMBER_OF_PREDICTORS
      NOT_ENOUGH_DATA_FOR_NUMBER_OF_PREDICTORS.
    • NOT_SUPPORTED_NAN_STRATEGY

      public static final LocalizedStatFormats NOT_SUPPORTED_NAN_STRATEGY
      NOT_SUPPORTED_NAN_STRATEGY.
    • NO_REGRESSORS

      public static final LocalizedStatFormats NO_REGRESSORS
      NO_REGRESSORS.
    • COVARIANCE_MATRIX

      public static final LocalizedStatFormats COVARIANCE_MATRIX
      COVARIANCE_MATRIX.
    • OUT_OF_BOUNDS_QUANTILE_VALUE

      public static final LocalizedStatFormats OUT_OF_BOUNDS_QUANTILE_VALUE
      OUT_OF_BOUNDS_QUANTILE_VALUE.
    • OUT_OF_BOUNDS_CONFIDENCE_LEVEL

      public static final LocalizedStatFormats OUT_OF_BOUNDS_CONFIDENCE_LEVEL
      OUT_OF_BOUNDS_CONFIDENCE_LEVEL.
    • OUT_OF_BOUND_SIGNIFICANCE_LEVEL

      public static final LocalizedStatFormats OUT_OF_BOUND_SIGNIFICANCE_LEVEL
      OUT_OF_BOUND_SIGNIFICANCE_LEVEL.
    • SIGNIFICANCE_LEVEL

      public static final LocalizedStatFormats SIGNIFICANCE_LEVEL
      SIGNIFICANCE_LEVEL.
    • TOO_MANY_REGRESSORS

      public static final LocalizedStatFormats TOO_MANY_REGRESSORS
      TOO_MANY_REGRESSORS.
    • TWO_OR_MORE_CATEGORIES_REQUIRED

      public static final LocalizedStatFormats TWO_OR_MORE_CATEGORIES_REQUIRED
      TWO_OR_MORE_CATEGORIES_REQUIRED.
    • TWO_OR_MORE_VALUES_IN_CATEGORY_REQUIRED

      public static final LocalizedStatFormats TWO_OR_MORE_VALUES_IN_CATEGORY_REQUIRED
      TWO_OR_MORE_VALUES_IN_CATEGORY_REQUIRED.
    • ILLEGAL_STATE_PCA

      public static final LocalizedStatFormats ILLEGAL_STATE_PCA
      ILLEGAL_STATE_PCA.
  • Method Details

    • values

      public static LocalizedStatFormats[] 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

      public static LocalizedStatFormats 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 name
      NullPointerException - if the argument is null
    • getSourceString

      public String getSourceString()
      Specified by:
      getSourceString in interface Localizable
    • getLocalizedString

      public String getLocalizedString(Locale locale)
      Specified by:
      getLocalizedString in interface Localizable