Is there any reason to add in the expense of a Vector (vs. a List like
ArrayList)?  Is there multithreading going on?

-Jason

    > -----Original Message-----
    > From: Matthew Inger [mailto:[EMAIL PROTECTED]]
    > Sent: Wednesday, August 01, 2001 11:30 AM
    > To: [EMAIL PROTECTED]
    > Subject: Re: [antlist] custom task - how to pass *.java filenames
    > 
    > 
    > T Master wrote:
    > 
    > >I'm starting to write my own custom task (oooooh) as a 
    > wrapper around
    > >JavaNCSS.
    > >
    > >I want to be able to pass all the *.java names to my task.
    > >I'm thinking I should have my custom task allow a nested 
    > fileset (along with
    > >patternset).
    > >
    > >How would I pass this to my task?  Would it be a 
    > String[] of the actual
    > >*.java filenames?
    > >
    > >All comments appreciated, and thanks in advance.
    > >
    > >T Master
    > >
    > add the following to your task:
    > 
    > 
    > private Vector filesets = new Vector();
    > 
    > public void addFileset(FileSet set)
    > {
    >     filesets.addElement(set);
    > }
    > 
    > 
    > 
    > 
    > 
    > 

Reply via email to