|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvsp.Params
public class Params
Parametrs from command line and basic operations with them
Field Summary | |
---|---|
private double |
a
|
private double |
b
|
private double |
c
|
private int |
count
|
private double |
start
|
Constructor Summary | |
---|---|
Params(int count,
double a,
double b,
double c)
Create new parameters |
Method Summary | |
---|---|
double |
getA()
Get first break |
double |
getB()
Get second break |
double |
getC()
Get last break |
int |
getCount()
Get count of generated numbers |
double |
getDeviation()
Count theoretic deviation |
double |
getMedian()
Count theoretic median |
double |
getStart()
Get start break |
private void |
validate()
Validate parameters |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private int count
private double a
private double b
private double c
private double start
Constructor Detail |
---|
public Params(int count, double a, double b, double c) throws java.lang.Exception
count
- count of generated numbersa
- first breakb
- second breakc
- last break
java.lang.Exception
Method Detail |
---|
private void validate() throws java.lang.Exception
java.lang.Exception
public double getMedian()
public double getDeviation() throws java.lang.Exception
java.lang.Exception
public int getCount()
public double getA()
public double getB()
public double getC()
public double getStart()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |