Hi Thang,
I'm wrong. Of course
new java.util.concurrent.CopyOnWriteArraySet<Items.Item>()
instantiates CopyOnWriteArraySet.
Now, I'm baffled. Will poke around some more.
Regards,
--
Ed Mooney |Sun Microsystems, Inc.|Time flies like
Java Web Services |UBUR02-201 |an arrow, but
Ed.Mooney_at_Sun.COM |1 Network Drive |fruit flies like
781-442-0459 |Burlington, MA 01803 |a banana. Groucho
Ed Mooney wrote:
> Hi Thang,
>
> I'm sure this is Java behavior not specific to JAXB, but I couldn't a
> reference. Since Set is an interface, I'm speculating that HashSet is
> the default implementation returned when you do something like
>
> Set<Items.Item> s = new
> java.util.concurrent.CopyOnWriteArraySet<Items.Item>()
>
> I think the answer should be here[1], but I couldn't find it right away.
>
> Regards,