Serge Knystautas wrote:
> 
> Federico Barbieri wrote:
> > Serge can you update the matcher interface?
> 
> Started working on it this evening... 2 questions though...
> 

Thanks. I still can't access CVS for now but I don't want this to delay
work.

> First, since we don't want the Matcher object to change the Mail object
> (except the recipients), what about
> 
> Vector match(Mail mail)
> 
> and just return the Vector of recipients.  If the matcher is checking
> some other setting and will be either all or nothing, for a match you
> can do
> 
> return mail.getRecipients();
> 
> and for no match you could do...
> 
> return new Vector();
> or
> return null;
> 

This was the old interface... What about returning a Collection?

> Second, can I use JDK 1.2 features (specifically collections API)?  I
> guess I can stick with the VectorUtils utility class.
> 

+1

> Serge Knystautas
> Loki Technologies
> http://www.lokitech.com/

Federico Barbieri
<[EMAIL PROTECTED]>


------------------------------------------------------------
To subscribe:        [EMAIL PROTECTED]
To unsubscribe:      [EMAIL PROTECTED]
Archives and Other:  <http://java.apache.org/>
Problems?:           [EMAIL PROTECTED]

Reply via email to