/** * Gets the current settings of the filter. * * @return an array of strings suitable for passing to setOptions */ @Override public String[] getOptions() { Vector<String> options = new Vector<String>(); options.add("-M"); options.add("" + getMaximumVariancePercentageAllowed()); return options.toArray(new String[0]); }
/** * Gets the current settings of the filter. * * @return an array of strings suitable for passing to setOptions */ @Override public String[] getOptions() { Vector<String> options = new Vector<String>(); options.add("-M"); options.add("" + getMaximumVariancePercentageAllowed()); return options.toArray(new String[0]); }
/** Creates a default RemoveUseless */ public Filter getFilter() { return getFilter(new RemoveUseless().getMaximumVariancePercentageAllowed()); }
/** Creates a default RemoveUseless */ public Filter getFilter() { return getFilter(new RemoveUseless().getMaximumVariancePercentageAllowed()); }