2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright 2008 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A * ident "%Z%%M% %I% %E% SMI" 2N/A * A {@code long} value aggregated by the DTrace {@code stddev()} action. 2N/A * @author Tom Erickson 2N/A new String[] {
"value",
"total",
"count",
"totalSquares"})
2N/A // Bring down the next pair of bits. 2N/A // nextTry = R << 2 + 1 2N/A * Called by native code. 2N/A * Creates a value aggregated by the DTrace {@code stddev()} action. 2N/A * Supports XML persistence. 2N/A * @param v standard deviation 2N/A * @param stddevTotal sum total of all values included in the standard 2N/A * @param stddevCount number of values included in the standard 2N/A * @param stddevTotalSquaresString decimal string representation of 2N/A * the 128-bit sum total of the squares of all values included in 2N/A * the standard deviation 2N/A * @throws IllegalArgumentException if the given count is negative 2N/A * or if the given standard deviation is not the value expected for 2N/A * the given total, total of squares, and count 2N/A * @throws NumberFormatException if the given total squares is not a 2N/A * valid integer representation 2N/A "count of values is zero, stddev is non-zero (" +
2N/A "standard deviation of total " +
total +
", count " +
2N/A // Needed to support XML persistence since XMLDecoder cannot find 2N/A // the public method of the non-public superclass. 2N/A * Gets the standard deviation of the aggregated values. 2N/A * @return standard deviation of the aggregated values 2N/A * Gets the sum total of the aggregated values. 2N/A * @return the sum total of the aggregated values 2N/A * Gets the number of aggregated values included in the standard 2N/A * @return the number of aggregated values included in the standard 2N/A * Gets the sum total of the squares of the aggregated values. 2N/A * @return the sum total of the squares of the aggregated values