Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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 studying the Monastery: (12)
As of 2014-12-26 16:51 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (172 votes), past polls