枚举类 LocalizedCoreFormats
- 所有已实现的接口:
-
Serializable
,Comparable<LocalizedCoreFormats>
,Constable
,Localizable
用于异常消息中使用的本地化消息格式的枚举。
此枚举中的常量表示可用作本地化字符串的可用格式。这些格式旨在使用简单的属性文件进行本地化,使用常量名称作为键,属性值作为消息格式。源英文格式提供在常量本身中,旨在既作为开发人员了解每个格式所需参数的提醒,又作为翻译人员创建本地化属性文件的基础,同时作为某些翻译缺失时的默认格式。
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
枚举常量概要
枚举常量说明算术异常。数组元素。数组大小超过最大变量。数组大小应该有差异1。数组总和为零。不允许数组长度为零或空。至少一列。至少一行。带宽。基础。贝塞尔函数参数错误。贝塞尔函数收敛失败。二项式参数顺序无效。二项式负参数。无法计算单位根的0次方。无法计算某些α的β密度在0处。无法计算某些β的α密度在1处。无法计算负n的n次方根。无法丢弃负数个元素。无法将实例格式化为复数。无法将对象格式化为分数。无法解析。无法解析为类型。无法从空数组中替换元素。列索引。复数不能被视为实数。约束。连分数无穷发散。连分数NaN发散。收缩标准小于扩展因子。收缩标准小于1。收敛失败。累积概率返回NaN。自由度。分母。分母格式。不允许导数阶数。不同行长度。摘要未初始化。维度。维度不匹配。2x2维度不匹配。离散累积概率返回NaN。分布未加载。重复的横坐标除以零。空插值样本。空多项式系数数组。空选定列索引数组。空选定行索引数组。端点不是区间。评估。评估。扩展因子小于1。指数。阶乘负参数。失败的区间定位。失败的分解。失败的分数转换。首列尚未初始化。首行尚未初始化。分数。分数转换溢出。函数。GCD溢出32位。GCD溢出64位。病态算子。非法状态。虚数格式。索引。索引大于最大值。索引不是正数。无限数组元素。无限边界。无限值转换。初始容量不是正数。最终列之后的初始列。最终行之后的初始行。输入数组。输入预期在0和1之间。数据不足。维度不足。样本中观察点不足。行和列不足。内部错误。最大迭代次数无效。迭代次数。LCM溢出32位。LCM溢出64位。长度。下限不低于上限。下限高于上限。超过最大计数。平均值。索引处的NaN元素。不允许NaN。NaN值转换。负复数模。负定矩阵。索引处的负元素。无法使用任何起始点收敛。无数据。尚未计算最优值。非收敛连分数。非正定算子。非自伴算子。非方阵。非方阵算子。非对称矩阵。范数。无穷规范化。NaN规范化。非括号区间。非递减序列。样条分区中点不足。非有限数。非递增序列。非正定矩阵。非正指数。样本数不是正数。非正比例。窗口大小不是正数。非严格递减序列。非严格递增序列。不允许为空。元素数量应为正数。插值点数量。点数量。样本数量。成功次数大于总体大小。成功次数。试验次数。数量过大。数量过大,排除边界。数量过小。数量过小,排除边界。分子。分子格式。乘法后分子溢出。条目的观察计数均为零。超出范围。左侧超出范围。单位根索引超出范围。超出简单范围。溢出。OVERFLOW_IN_ADDITION.OVERFLOW_IN_FRACTION.OVERFLOW_IN_MULTIPLICATION.OVERFLOW_IN_SUBTRACTION.PERMUTATION_EXCEEDS_N.PERMUTATION_SIZE.POLYNOMIAL.POPULATION_SIZE.REAL_FORMAT.RIGHT_EDGE_GREATER_THAN_LEFT_EDGE.ROBUSTNESS_ITERATIONS.ROOTS_OF_UNITY_NOT_COMPUTED_YET.ROW_INDEX.SAMPLE_SIZE_EXCEEDS_COLLECTION_SIZE.SAMPLE_SIZE_LARGER_THAN_POPULATION_SIZE.SCALE.SHAPE.SIMPLE_MESSAGE.SINGULAR_MATRIX.SINGULAR_OPERATOR.STANDARD_DEVIATION.START_POINT_NOT_IN_INTERVAL.START_POSITION.SUBARRAY_ENDS_AFTER_ARRAY_END.TOO_LARGE_CUTOFF_SINGULAR_VALUE.TOO_MANY_ELEMENTS_TO_DISCARD_FROM_ARRAY.UNKNOWN_MODE.UNSUPPORTED_OPERATION.URL_CONTAINS_NO_DATA.USER_EXCEPTION.VECTOR_MUST_HAVE_AT_LEAST_ONE_ELEMENT.WEIGHT_AT_LEAST_ONE_NON_ZERO.WHOLE_FORMAT.WRONG_NUMBER_OF_POINTS.ZERO_DENOMINATOR.ZERO_DENOMINATOR_IN_FRACTION.ZERO_FRACTION_TO_DIVIDE_BY.ZERO_NORM.ZERO_NOT_ALLOWED.ZERO_STATE_SIZE. -
方法概要
修饰符和类型方法说明getLocalizedString
(Locale locale) Gets the localized string.Gets the source (non-localized) string.static LocalizedCoreFormats
返回带有指定名称的该类的枚举常量。static LocalizedCoreFormats[]
values()
返回包含该枚举类的常量的数组, 顺序与声明这些常量的顺序相同
-
枚举常量详细资料
-
ARRAY_SIZE_EXCEEDS_MAX_VARIABLES
ARRAY_SIZE_EXCEEDS_MAX_VARIABLES. -
ARRAY_SIZES_SHOULD_HAVE_DIFFERENCE_1
ARRAY_SIZES_SHOULD_HAVE_DIFFERENCE_1. -
ARRAY_SUMS_TO_ZERO
ARRAY_SUMS_TO_ZERO. -
AT_LEAST_ONE_COLUMN
AT_LEAST_ONE_COLUMN. -
AT_LEAST_ONE_ROW
AT_LEAST_ONE_ROW. -
BANDWIDTH
BANDWIDTH. -
BESSEL_FUNCTION_BAD_ARGUMENT
BESSEL_FUNCTION_BAD_ARGUMENT. -
BESSEL_FUNCTION_FAILED_CONVERGENCE
BESSEL_FUNCTION_FAILED_CONVERGENCE. -
BINOMIAL_INVALID_PARAMETERS_ORDER
BINOMIAL_INVALID_PARAMETERS_ORDER. -
BINOMIAL_NEGATIVE_PARAMETER
BINOMIAL_NEGATIVE_PARAMETER. -
CANNOT_COMPUTE_0TH_ROOT_OF_UNITY
CANNOT_COMPUTE_0TH_ROOT_OF_UNITY. -
CANNOT_COMPUTE_BETA_DENSITY_AT_0_FOR_SOME_ALPHA
CANNOT_COMPUTE_BETA_DENSITY_AT_0_FOR_SOME_ALPHA. -
CANNOT_COMPUTE_BETA_DENSITY_AT_1_FOR_SOME_BETA
CANNOT_COMPUTE_BETA_DENSITY_AT_1_FOR_SOME_BETA. -
CANNOT_COMPUTE_NTH_ROOT_FOR_NEGATIVE_N
CANNOT_COMPUTE_NTH_ROOT_FOR_NEGATIVE_N. -
CANNOT_DISCARD_NEGATIVE_NUMBER_OF_ELEMENTS
CANNOT_DISCARD_NEGATIVE_NUMBER_OF_ELEMENTS. -
CANNOT_FORMAT_INSTANCE_AS_COMPLEX
CANNOT_FORMAT_INSTANCE_AS_COMPLEX. -
CANNOT_FORMAT_OBJECT_TO_FRACTION
CANNOT_FORMAT_OBJECT_TO_FRACTION. -
CANNOT_SUBSTITUTE_ELEMENT_FROM_EMPTY_ARRAY
CANNOT_SUBSTITUTE_ELEMENT_FROM_EMPTY_ARRAY. -
COLUMN_INDEX
COLUMN_INDEX. -
COMPLEX_CANNOT_BE_CONSIDERED_A_REAL_NUMBER
COMPLEX_CANNOT_BE_CONSIDERED_A_REAL_NUMBER. -
CONSTRAINT
CONSTRAINT. -
CONTINUED_FRACTION_INFINITY_DIVERGENCE
CONTINUED_FRACTION_INFINITY_DIVERGENCE. -
CONTINUED_FRACTION_NAN_DIVERGENCE
CONTINUED_FRACTION_NAN_DIVERGENCE. -
CONTRACTION_CRITERIA_SMALLER_THAN_EXPANSION_FACTOR
CONTRACTION_CRITERIA_SMALLER_THAN_EXPANSION_FACTOR. -
CONTRACTION_CRITERIA_SMALLER_THAN_ONE
CONTRACTION_CRITERIA_SMALLER_THAN_ONE. -
CONVERGENCE_FAILED
CONVERGENCE_FAILED. -
CUMULATIVE_PROBABILITY_RETURNED_NAN
CUMULATIVE_PROBABILITY_RETURNED_NAN. -
DERIVATION_ORDER_NOT_ALLOWED
DERIVATION_ORDER_NOT_ALLOWED. -
DIFFERENT_ROWS_LENGTHS
DIFFERENT_ROWS_LENGTHS. -
DIGEST_NOT_INITIALIZED
DIGEST_NOT_INITIALIZED. -
DIMENSIONS_MISMATCH_2x2
DIMENSIONS_MISMATCH_2x2. -
DIMENSIONS_MISMATCH
DIMENSIONS_MISMATCH. -
DISCRETE_CUMULATIVE_PROBABILITY_RETURNED_NAN
DISCRETE_CUMULATIVE_PROBABILITY_RETURNED_NAN. -
DISTRIBUTION_NOT_LOADED
DISTRIBUTION_NOT_LOADED. -
DUPLICATED_ABSCISSA_DIVISION_BY_ZERO
DUPLICATED_ABSCISSA_DIVISION_BY_ZERO. -
EMPTY_INTERPOLATION_SAMPLE
EMPTY_INTERPOLATION_SAMPLE. -
EMPTY_POLYNOMIALS_COEFFICIENTS_ARRAY
EMPTY_POLYNOMIALS_COEFFICIENTS_ARRAY. -
EMPTY_SELECTED_COLUMN_INDEX_ARRAY
EMPTY_SELECTED_COLUMN_INDEX_ARRAY. -
EMPTY_SELECTED_ROW_INDEX_ARRAY
EMPTY_SELECTED_ROW_INDEX_ARRAY. -
ENDPOINTS_NOT_AN_INTERVAL
ENDPOINTS_NOT_AN_INTERVAL. -
EVALUATION
EVALUATION. -
EXPANSION_FACTOR_SMALLER_THAN_ONE
EXPANSION_FACTOR_SMALLER_THAN_ONE. -
FACTORIAL_NEGATIVE_PARAMETER
FACTORIAL_NEGATIVE_PARAMETER. -
FAILED_BRACKETING
FAILED_BRACKETING. -
FAILED_DECOMPOSITION
FAILED_DECOMPOSITION. -
FAILED_FRACTION_CONVERSION
FAILED_FRACTION_CONVERSION. -
FIRST_COLUMNS_NOT_INITIALIZED_YET
FIRST_COLUMNS_NOT_INITIALIZED_YET. -
FIRST_ROWS_NOT_INITIALIZED_YET
FIRST_ROWS_NOT_INITIALIZED_YET. -
FRACTION_CONVERSION_OVERFLOW
FRACTION_CONVERSION_OVERFLOW. -
GCD_OVERFLOW_32_BITS
GCD_OVERFLOW_32_BITS. -
GCD_OVERFLOW_64_BITS
GCD_OVERFLOW_64_BITS. -
ILL_CONDITIONED_OPERATOR
ILL_CONDITIONED_OPERATOR. -
INDEX_LARGER_THAN_MAX
INDEX_LARGER_THAN_MAX. -
INDEX_NOT_POSITIVE
INDEX_NOT_POSITIVE. -
INDEX
INDEX. -
NOT_FINITE_NUMBER
NOT_FINITE_NUMBER. -
INFINITE_BOUND
INFINITE_BOUND. -
ARRAY_ELEMENT
ARRAY_ELEMENT. -
INFINITE_ARRAY_ELEMENT
INFINITE_ARRAY_ELEMENT. -
INFINITE_VALUE_CONVERSION
INFINITE_VALUE_CONVERSION. -
INITIAL_CAPACITY_NOT_POSITIVE
INITIAL_CAPACITY_NOT_POSITIVE. -
INITIAL_COLUMN_AFTER_FINAL_COLUMN
INITIAL_COLUMN_AFTER_FINAL_COLUMN. -
INITIAL_ROW_AFTER_FINAL_ROW
INITIAL_ROW_AFTER_FINAL_ROW. -
INSUFFICIENT_DATA
INSUFFICIENT_DATA. -
INSUFFICIENT_DIMENSION
INSUFFICIENT_DIMENSION. -
DIMENSION
DIMENSION. -
INSUFFICIENT_OBSERVED_POINTS_IN_SAMPLE
INSUFFICIENT_OBSERVED_POINTS_IN_SAMPLE. -
INSUFFICIENT_ROWS_AND_COLUMNS
INSUFFICIENT_ROWS_AND_COLUMNS. -
INTERNAL_ERROR
INTERNAL_ERROR. -
INVALID_MAX_ITERATIONS
INVALID_MAX_ITERATIONS. -
ITERATIONS
ITERATIONS. -
LCM_OVERFLOW_32_BITS
LCM_OVERFLOW_32_BITS. -
LCM_OVERFLOW_64_BITS
LCM_OVERFLOW_64_BITS. -
LOWER_BOUND_NOT_BELOW_UPPER_BOUND
LOWER_BOUND_NOT_BELOW_UPPER_BOUND. -
LOWER_ENDPOINT_ABOVE_UPPER_ENDPOINT
LOWER_ENDPOINT_ABOVE_UPPER_ENDPOINT. -
EVALUATIONS
EVALUATIONS. -
MAX_COUNT_EXCEEDED
MAX_COUNT_EXCEEDED. -
NAN_ELEMENT_AT_INDEX
NAN_ELEMENT_AT_INDEX. -
NAN_VALUE_CONVERSION
NAN_VALUE_CONVERSION. -
NEGATIVE_DEFINITE_MATRIX
NEGATIVE_DEFINITE_MATRIX. -
NEGATIVE_COMPLEX_MODULE
NEGATIVE_COMPLEX_MODULE. -
NEGATIVE_ELEMENT_AT_INDEX
NEGATIVE_ELEMENT_AT_INDEX. -
NUMBER_OF_SUCCESSES
NUMBER_OF_SUCCESSES. -
NUMBER_OF_INTERPOLATION_POINTS
NUMBER_OF_INTERPOLATION_POINTS. -
NUMBER_OF_TRIALS
NUMBER_OF_TRIALS. -
ROBUSTNESS_ITERATIONS
ROBUSTNESS_ITERATIONS. -
START_POSITION
START_POSITION. -
NON_CONVERGENT_CONTINUED_FRACTION
NON_CONVERGENT_CONTINUED_FRACTION. -
NON_SQUARE_MATRIX
NON_SQUARE_MATRIX. -
NORM
NORM. -
NORMALIZE_INFINITE
NORMALIZE_INFINITE. -
NORMALIZE_NAN
NORMALIZE_NAN. -
NOT_DECREASING_SEQUENCE
NOT_DECREASING_SEQUENCE. -
NOT_ENOUGH_POINTS_IN_SPLINE_PARTITION
NOT_ENOUGH_POINTS_IN_SPLINE_PARTITION. -
NOT_INCREASING_SEQUENCE
NOT_INCREASING_SEQUENCE. -
NOT_POSITIVE_DEFINITE_MATRIX
NOT_POSITIVE_DEFINITE_MATRIX. -
NON_POSITIVE_DEFINITE_OPERATOR
NON_POSITIVE_DEFINITE_OPERATOR. -
NON_SELF_ADJOINT_OPERATOR
NON_SELF_ADJOINT_OPERATOR. -
NON_SQUARE_OPERATOR
NON_SQUARE_OPERATOR. -
DEGREES_OF_FREEDOM
DEGREES_OF_FREEDOM. -
NOT_POSITIVE_EXPONENT
NOT_POSITIVE_EXPONENT. -
NUMBER_OF_ELEMENTS_SHOULD_BE_POSITIVE
NUMBER_OF_ELEMENTS_SHOULD_BE_POSITIVE. -
BASE
BASE. -
EXPONENT
EXPONENT. -
LENGTH
LENGTH. -
MEAN
MEAN. -
NOT_POSITIVE_NUMBER_OF_SAMPLES
NOT_POSITIVE_NUMBER_OF_SAMPLES. -
NUMBER_OF_SAMPLES
NUMBER_OF_SAMPLES. -
PERMUTATION_SIZE
PERMUTATION_SIZE. -
POPULATION_SIZE
POPULATION_SIZE. -
NOT_POSITIVE_SCALE
NOT_POSITIVE_SCALE. -
SCALE
SCALE. -
SHAPE
SHAPE. -
STANDARD_DEVIATION
STANDARD_DEVIATION. -
NOT_POSITIVE_WINDOW_SIZE
NOT_POSITIVE_WINDOW_SIZE. -
NOT_STRICTLY_DECREASING_SEQUENCE
NOT_STRICTLY_DECREASING_SEQUENCE. -
NOT_STRICTLY_INCREASING_SEQUENCE
NOT_STRICTLY_INCREASING_SEQUENCE. -
NON_SYMMETRIC_MATRIX
NON_SYMMETRIC_MATRIX. -
NO_CONVERGENCE_WITH_ANY_START_POINT
NO_CONVERGENCE_WITH_ANY_START_POINT. -
NO_DATA
NO_DATA. -
NO_OPTIMUM_COMPUTED_YET
NO_OPTIMUM_COMPUTED_YET. -
NAN_NOT_ALLOWED
NAN_NOT_ALLOWED. -
NULL_NOT_ALLOWED
NULL_NOT_ALLOWED. -
ARRAY_ZERO_LENGTH_OR_NULL_NOT_ALLOWED
ARRAY_ZERO_LENGTH_OR_NULL_NOT_ALLOWED. -
DENOMINATOR
DENOMINATOR. -
DENOMINATOR_FORMAT
DENOMINATOR_FORMAT. -
FRACTION
FRACTION. -
FUNCTION
FUNCTION. -
IMAGINARY_FORMAT
IMAGINARY_FORMAT. -
INPUT_ARRAY
INPUT_ARRAY. -
NUMERATOR
NUMERATOR. -
NUMERATOR_FORMAT
NUMERATOR_FORMAT. -
REAL_FORMAT
REAL_FORMAT. -
WHOLE_FORMAT
WHOLE_FORMAT. -
NUMBER_TOO_LARGE
NUMBER_TOO_LARGE. -
NUMBER_TOO_SMALL
NUMBER_TOO_SMALL. -
NUMBER_TOO_LARGE_BOUND_EXCLUDED
NUMBER_TOO_LARGE_BOUND_EXCLUDED. -
NUMBER_TOO_SMALL_BOUND_EXCLUDED
NUMBER_TOO_SMALL_BOUND_EXCLUDED. -
NUMBER_OF_SUCCESS_LARGER_THAN_POPULATION_SIZE
NUMBER_OF_SUCCESS_LARGER_THAN_POPULATION_SIZE. -
NUMERATOR_OVERFLOW_AFTER_MULTIPLY
NUMERATOR_OVERFLOW_AFTER_MULTIPLY. -
OBSERVED_COUNTS_BOTTH_ZERO_FOR_ENTRY
OBSERVED_COUNTS_BOTTH_ZERO_FOR_ENTRY. -
OUT_OF_RANGE_ROOT_OF_UNITY_INDEX
OUT_OF_RANGE_ROOT_OF_UNITY_INDEX. -
OUT_OF_RANGE
OUT_OF_RANGE. -
OUT_OF_RANGE_SIMPLE
OUT_OF_RANGE_SIMPLE. -
OUT_OF_RANGE_LEFT
OUT_OF_RANGE_LEFT. -
OVERFLOW
OVERFLOW. -
OVERFLOW_IN_FRACTION
OVERFLOW_IN_FRACTION. -
OVERFLOW_IN_ADDITION
OVERFLOW_IN_ADDITION. -
OVERFLOW_IN_SUBTRACTION
OVERFLOW_IN_SUBTRACTION. -
OVERFLOW_IN_MULTIPLICATION
OVERFLOW_IN_MULTIPLICATION. -
PERMUTATION_EXCEEDS_N
PERMUTATION_EXCEEDS_N. -
POLYNOMIAL
POLYNOMIAL. -
ROOTS_OF_UNITY_NOT_COMPUTED_YET
ROOTS_OF_UNITY_NOT_COMPUTED_YET. -
ROW_INDEX
ROW_INDEX. -
NOT_BRACKETING_INTERVAL
NOT_BRACKETING_INTERVAL. -
START_POINT_NOT_IN_INTERVAL
START_POINT_NOT_IN_INTERVAL. -
SAMPLE_SIZE_EXCEEDS_COLLECTION_SIZE
SAMPLE_SIZE_EXCEEDS_COLLECTION_SIZE. -
SAMPLE_SIZE_LARGER_THAN_POPULATION_SIZE
SAMPLE_SIZE_LARGER_THAN_POPULATION_SIZE. -
SIMPLE_MESSAGE
SIMPLE_MESSAGE. -
SINGULAR_MATRIX
SINGULAR_MATRIX. -
SINGULAR_OPERATOR
SINGULAR_OPERATOR. -
SUBARRAY_ENDS_AFTER_ARRAY_END
SUBARRAY_ENDS_AFTER_ARRAY_END. -
TOO_LARGE_CUTOFF_SINGULAR_VALUE
TOO_LARGE_CUTOFF_SINGULAR_VALUE. -
TOO_MANY_ELEMENTS_TO_DISCARD_FROM_ARRAY
TOO_MANY_ELEMENTS_TO_DISCARD_FROM_ARRAY. -
UNKNOWN_MODE
UNKNOWN_MODE. -
CANNOT_PARSE_AS_TYPE
CANNOT_PARSE_AS_TYPE. -
CANNOT_PARSE
CANNOT_PARSE. -
UNSUPPORTED_OPERATION
UNSUPPORTED_OPERATION. -
ARITHMETIC_EXCEPTION
ARITHMETIC_EXCEPTION. -
ILLEGAL_STATE
ILLEGAL_STATE. -
USER_EXCEPTION
用户异常。 -
URL_CONTAINS_NO_DATA
URL不包含数据。 -
VECTOR_MUST_HAVE_AT_LEAST_ONE_ELEMENT
向量必须至少有一个元素。 -
WEIGHT_AT_LEAST_ONE_NON_ZERO
权重至少有一个非零值。 -
WRONG_NUMBER_OF_POINTS
点的数量错误。 -
NUMBER_OF_POINTS
点的数量。 -
ZERO_DENOMINATOR
分母为零。 -
ZERO_DENOMINATOR_IN_FRACTION
分数中的分母为零。 -
ZERO_FRACTION_TO_DIVIDE_BY
除数为零的分数。 -
ZERO_NORM
零范数。 -
ZERO_NOT_ALLOWED
不允许为零。 -
ZERO_STATE_SIZE
状态大小为零。 -
RIGHT_EDGE_GREATER_THAN_LEFT_EDGE
右边界大于左边界。 -
INPUT_EXPECTED_BETWEEN_ZERO_AND_ONE_INCLUDED
输入应在0和1之间(包括0和1)。
-
-
方法详细资料
-
values
返回包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同- 返回:
- 包含该枚举类的常量的数组,顺序与声明这些常量的顺序相同
-
valueOf
返回带有指定名称的该类的枚举常量。 字符串必须与用于声明该类的枚举常量的 标识符完全匹配。(不允许有多余 的空格字符。)- 参数:
-
name
- 要返回的枚举常量的名称。 - 返回:
- 返回带有指定名称的枚举常量
- 抛出:
-
IllegalArgumentException
- 如果该枚举类没有带有指定名称的常量 -
NullPointerException
- 如果参数为空值
-
getSourceString
获取源(非本地化)字符串。- 指定者:
-
getSourceString
在接口中Localizable
- 返回:
- 源字符串。
-
getLocalizedString
获取本地化字符串。- 指定者:
-
getLocalizedString
在接口中Localizable
- 参数:
-
locale
- 要获取字符串的区域设置。 - 返回:
- 本地化字符串,如果没有可用的本地化版本,则返回源字符串。
-