I was wondering why there are 2 container package under tango.util.collection
,tango.util.container which some of the libarary are the same,say
HashSet,HashMap which just make a bit confuse?
Thanks.
On Sat, 03 Jan 2009 17:10:44 +1300, Sam Hu wrote:
I was wondering why there are 2 container package under
tango.util.collection ,tango.util.container which some of the libarary
are the same,say HashSet,HashMap which just make a bit confuse?
Thanks.
Container is the newer one. Collection
Tim M wrote:
> On Sat, 03 Jan 2009 17:10:44 +1300, Sam Hu wrote:
>
>> I was wondering why there are 2 container package under
>> tango.util.collection ,tango.util.container which some of the libarary
>> are the same,say HashSet,HashMap which just make a bit confuse?
>>
>> Thanks.
>
> Container
OK,so which one is equivelant to ArrayBag in the container module?I found
Vector is not the same as c++ std::vector<>does,while ArrayBag in the
collection module looks more like.If the collection module deprecates in the
future,which one in the container module will act as ArrayBag?
Thanks.
Sam
Sam Hu wrote:
> OK,so which one is equivelant to ArrayBag in the container module?I found
> Vector is not the same as c++ std::vector<>does,while ArrayBag in the
> collection module looks more like.If the collection module deprecates in
> the future,which one in the container module will act as Ar