Help for this page
public abstract static class MapBlock { public Object[] run(Object[] list) { ... // Thanks for the idea to [jdporter] }
Object[] new_list = map(new MapBlock() { ... return str.toUpperCase(); } }, objects); // end of MapBlock, second param objects
www.com | www.net | www.org
No recent polls found