Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Re: Perl Functionality in Java

by djantzen (Priest)
on Nov 08, 2002 at 14:20 UTC ( [id://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 romping around the Monastery: (3)
As of 2024-04-19 20:41 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found