package com.airbnb.aerosolve.core.util;

/**
 * Created by christhetree on 30/04/16.
 */
public class TransformUtil {
    public static Double quantize(double val, double delta) {
      Double mult = val / delta;
      return delta * mult.intValue();
    }
}

@@ -45,43 +45,246 @@
 %0A * 
-Created by christhetree on 30/04/16
+Utility class for methods that are commonly used by transforms and should be shared.%0A * TODO: go through all transforms and add all common methods here.%0A * TODO: go through Util class and add all transform related / exclusive methods here
 .%0A *

Add comments to TransformUtil