Revision 25766 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/rendering/QuantileIntervalGenerator.java
QuantileIntervalGenerator.java | ||
---|---|---|
58 | 58 |
* @author Vicente Caballero Navarro |
59 | 59 |
*/ |
60 | 60 |
public class QuantileIntervalGenerator { |
61 |
private DataSource sds;
|
|
62 |
private String msFieldName;
|
|
63 |
private int miNumIntervalosSolicitados;
|
|
64 |
private double[] mdaValoresRuptura;
|
|
65 |
private double[] mdaValInit;
|
|
66 |
private int num = 0;
|
|
61 |
protected DataSource sds;
|
|
62 |
protected String msFieldName;
|
|
63 |
protected int miNumIntervalosSolicitados;
|
|
64 |
protected double[] mdaValoresRuptura;
|
|
65 |
protected double[] mdaValInit;
|
|
66 |
protected int num = 0;
|
|
67 | 67 |
|
68 | 68 |
/** |
69 | 69 |
* Crea un nuevo QuantileIntervalGenerator. |
... | ... | |
146 | 146 |
* @param coincidencia ?ndice. |
147 | 147 |
* @param vdValorAInsertar Valor a insertar. |
148 | 148 |
*/ |
149 |
private void insertarEnVector(ArrayList rVectorDatos,
|
|
149 |
protected void insertarEnVector(ArrayList rVectorDatos,
|
|
150 | 150 |
ArrayList coincidencia, Value vdValorAInsertar) { |
151 | 151 |
int llIndiceIzq; |
152 | 152 |
int llIndiceDer; |
... | ... | |
221 | 221 |
* |
222 | 222 |
* @return valor. |
223 | 223 |
*/ |
224 |
private double getValue(Value value) {
|
|
224 |
protected double getValue(Value value) {
|
|
225 | 225 |
if (value instanceof IntValue) { |
226 | 226 |
return ((IntValue) value).intValue(); |
227 | 227 |
} else if (value instanceof LongValue) { |
Also available in: Unified diff