why not.

gemlan (gem)
first of all, I am a green hand, I just want to learn something.
1. why can not use the hashtable? you can create a user object whose properties is map the information of this user. use this object as the key. then, you can have another object which extends the vector , use this one as the container of the items. Can you?
2. of course to let shopping cart extends hashtable is not necessary, but I think it can also make sense.
2001-8-9 -04:00
This post has been archived. It cannot be replied.
Page address has been copied. To share, click to copy page address.
Share Online by QR Code

Back To Topic: A small design issue

Back To Forum: HOME枫下论坛枫下论坛主坛工作学习IT技术讨论