public enum LocalizedStatFormats extends Enum<LocalizedStatFormats> implements Localizable
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.
Modifier and Type | Method and Description |
---|---|
String |
getLocalizedString(Locale locale)
Gets the localized string.
|
String |
getSourceString()
Gets the source (non-localized) string.
|
static LocalizedStatFormats |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LocalizedStatFormats[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LocalizedStatFormats TIES_ARE_NOT_ALLOWED
public static final LocalizedStatFormats INSUFFICIENT_DATA_FOR_T_STATISTIC
public static final LocalizedStatFormats NOT_ENOUGH_DATA_REGRESSION
public static final LocalizedStatFormats INVALID_REGRESSION_OBSERVATION
public static final LocalizedStatFormats NOT_ENOUGH_DATA_FOR_NUMBER_OF_PREDICTORS
public static final LocalizedStatFormats NOT_SUPPORTED_NAN_STRATEGY
public static final LocalizedStatFormats NO_REGRESSORS
public static final LocalizedStatFormats COVARIANCE_MATRIX
public static final LocalizedStatFormats OUT_OF_BOUNDS_QUANTILE_VALUE
public static final LocalizedStatFormats OUT_OF_BOUNDS_CONFIDENCE_LEVEL
public static final LocalizedStatFormats OUT_OF_BOUND_SIGNIFICANCE_LEVEL
public static final LocalizedStatFormats SIGNIFICANCE_LEVEL
public static final LocalizedStatFormats TOO_MANY_REGRESSORS
public static final LocalizedStatFormats TWO_OR_MORE_CATEGORIES_REQUIRED
public static final LocalizedStatFormats TWO_OR_MORE_VALUES_IN_CATEGORY_REQUIRED
public static LocalizedStatFormats[] values()
for (LocalizedStatFormats c : LocalizedStatFormats.values()) System.out.println(c);
public static LocalizedStatFormats valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String getSourceString()
getSourceString
in interface Localizable
public String getLocalizedString(Locale locale)
getLocalizedString
in interface Localizable
locale
- locale into which to get the string.Copyright © 2016-2022 CS GROUP. All rights reserved.