/** Creates a default RemoveRange */ public Filter getFilter() { RemoveRange f = new RemoveRange(); return f; }
/** * Main method for testing this class. * * @param argv should contain arguments to the filter: use -h for help */ public static void main(String[] argv) { runFilter(new RemoveRange(), argv); } }
/** Creates a default RemoveRange */ public Filter getFilter() { RemoveRange f = new RemoveRange(); return f; }
/** * Main method for testing this class. * * @param argv should contain arguments to the filter: use -h for help */ public static void main(String[] argv) { runFilter(new RemoveRange(), argv); } }
String range = Utils.getOption('p',options); System.out.println("Selecting Range "+range+""); RemoveRange remove = new RemoveRange(); remove.setInstancesIndices(range); remove.setInvertSelection(true);