Package plan_runner.conversion

Examples of plan_runner.conversion.DoubleConversion


      if (tc instanceof LongConversion) {
        final LongConversion lc = (LongConversion) tc;
        final Long lvalue = (Long) value;
        value = (long) (lc.toDouble(lvalue) * scallingFactor);
      } else if (tc instanceof DoubleConversion) {
        final DoubleConversion dbc = (DoubleConversion) tc;
        final Double dvalue = (Double) value;
        value = (double) (dbc.toDouble(dvalue) * scallingFactor);
      } else {
        if (true)
          throw new RuntimeException("Only Long and Double can be scalled out!");
      }
      break;
View Full Code Here

TOP

Related Classes of plan_runner.conversion.DoubleConversion

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.