protected double adjust(double v){
switch (m_scale) {
case Constants.LOG_SCALE:
    return Math.pow(10,v);
case Constants.SQRT_SCALE:
  return v * v;
case Constants.LINEAR_SCALE:
default :
return v;
}
}

protected double adjust ( double v ) { switch ( m_scale ) { case Constants . LOG_SCALE : return Math . pow ( 10 , v ) ; case Constants . SQRT_SCALE : return v * v ; case Constants . LINEAR_SCALE : default : return v ; } }
adjust a value according to the current scale type .
