List of usage examples for org.apache.commons.math3.exception.util LocalizedFormats VALUES_ADDED_BEFORE_CONFIGURING_STATISTIC
LocalizedFormats VALUES_ADDED_BEFORE_CONFIGURING_STATISTIC
To view the source code for org.apache.commons.math3.exception.util LocalizedFormats VALUES_ADDED_BEFORE_CONFIGURING_STATISTIC.
Click Source Link
From source file:org.matheclipse.core.stat.descriptive.SymbolicGeometricMean.java
/** * Throws IllegalStateException if n > 0. *//*from w w w .j ava 2s . c om*/ private void checkEmpty() { if (getN() > 0) { throw new MathIllegalStateException(LocalizedFormats.VALUES_ADDED_BEFORE_CONFIGURING_STATISTIC, getN()); } }