List of usage examples for org.apache.commons.functor UnaryProcedure run
void run(A obj);
From source file:org.mili.core.io.DefaultFileWalker.java
@Override public void walk(UnaryProcedure<File> f) { Validate.notNull(f, "walk function cannot be null!"); Iterator<?> fs = FileUtils.iterateFiles(this.root, new String[] { "jar" }, true); while (fs.hasNext()) { File f0 = (File) fs.next(); if (f0.isFile()) { f.run(f0); }//from w w w .j a v a 2 s . com } }