mirror of
https://github.com/apache/commons-math.git
synced 2025-02-06 01:59:13 +00:00
fixed variables declaration order to match checkstyle rules
git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@917275 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
71819532ac
commit
3a028a2a94
@ -52,6 +52,18 @@ import org.apache.commons.math.stat.descriptive.AbstractUnivariateStatistic;
|
||||
|
||||
public class SemiVariance extends AbstractUnivariateStatistic implements Serializable {
|
||||
|
||||
/**
|
||||
* The UPSIDE Direction is used to specify that the observations above the
|
||||
* cutoff point will be used to calculate SemiVariance.
|
||||
*/
|
||||
public static final Direction UPSIDE_VARIANCE = Direction.UPSIDE;
|
||||
|
||||
/**
|
||||
* The DOWNSIDE Direction is used to specify that the observations below
|
||||
* the cutoff point will be used to calculate SemiVariance
|
||||
*/
|
||||
public static final Direction DOWNSIDE_VARIANCE = Direction.DOWNSIDE;
|
||||
|
||||
/** Serializable version identifier */
|
||||
private static final long serialVersionUID = -2653430366886024994L;
|
||||
|
||||
@ -66,18 +78,6 @@ public class SemiVariance extends AbstractUnivariateStatistic implements Seriali
|
||||
*/
|
||||
private Direction varianceDirection = Direction.DOWNSIDE;
|
||||
|
||||
/**
|
||||
* The UPSIDE Direction is used to specify that the observations above the
|
||||
* cutoff point will be used to calculate SemiVariance.
|
||||
*/
|
||||
public static final Direction UPSIDE_VARIANCE = Direction.UPSIDE;
|
||||
|
||||
/**
|
||||
* The DOWNSIDE Direction is used to specify that the observations below
|
||||
* the cutoff point will be used to calculate SemiVariance
|
||||
*/
|
||||
public static final Direction DOWNSIDE_VARIANCE = Direction.DOWNSIDE;
|
||||
|
||||
/**
|
||||
* Constructs a SemiVariance with default (true) <code>biasCorrected</code>
|
||||
* property and default (Downside) <code>varianceDirection</code> property.
|
||||
|
Loading…
x
Reference in New Issue
Block a user