Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Re: Perl Functionality in Java

by djantzen (Priest)
on Nov 08, 2002 at 14:20 UTC ( #211434=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
       public abstract static class MapBlock {
        public Object[] run(Object[] list) {
    ...
        // Thanks for the idea to [jdporter]
    
        }
    
  2. or download this
        Object[] new_list = 
            map(new MapBlock() { 
    ...
                  return str.toUpperCase();
                }
            }, objects); // end of MapBlock, second param objects
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://211434]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others drinking their drinks and smoking their pipes about the Monastery: (5)
As of 2014-10-24 21:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    For retirement, I am banking on:










    Results (137 votes), past polls