package ro.hasna.ts.math.filter;

/**
 * Interface for all time series filter algorithms.
 *
 * @since 1.0
 */
public interface Filter {
    /**
     * Filter the sequence of values.
     *
     * @param values the sequence of values
     * @return the filtered sequence
     */
    double[] filter(double[] values);
}

@@ -27,16 +27,46 @@
 ilter;%0A%0A
+import java.io.Serializable;%0A%0A
 /**%0A * I
@@ -158,16 +158,37 @@
  Filter 
+extends Serializable 
 %7B%0A    /*

make filter serializable