Alan,
I didn't change it from Collection to ArrayList, I changed it from Vector to
ArrayList. The interface is still Collection. You don't need a
synchronized class there. The class is initialized in a single thread, and
then the Collection is read-only, so there is no need to synchronize the
operations.
--- Noel
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 10, 2003 8:01
To: James Developers List
Subject: RE: CIDr Addition
Noel -
> Thanks. I did a little bit of cleanup work on it,
okay -
moved the matchNetworks() into the GenericAddressMatcher
class; cleaner and simplier, and can remove exposure to the
defined networks list/collection/array
not sure though, with the change from Collection to
ArrayList; read a thread earlier about whether or not it's
implied order vs. explicit contract for order, but here
order is unnecessary...
_______________________
thanks,
alan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]