Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
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
Domain Nodelet?
Node Status?
node history
Node Type: note [id://211434]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others exploiting the Monastery: (4)
As of 2023-12-02 17:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (18 votes). Check out past polls.

    Notices?