[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: backed or unbacked FlowSet



Patrick LAM <plam@sable.mcgill.ca> wrote:
> > according to the javadoc of FlowSet the toList()-method returns an
> > unbacked list. but the ArraySparseSet returns a backed list (again
> > according to the javadoc).
> 
> Should return an unbacked list; you should be free to modify the list as
> you wish without modifying the FlowSet, or make it a
> Collections.unmodifiableList.  Either of those are unbacked.

In this case, ArraySparseSet definitely returns a backed List, so
maybe that's a bug.

-N.