View Single Post
  #2 (permalink)  
Old December 8th, 2007, 03:51 PM
peace95 peace95 is offline
Friend of Wrox
Points: 793, Level: 10
Points: 793, Level: 10 Points: 793, Level: 10 Points: 793, Level: 10
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
Join Date: May 2005
Location: OKC, OK, USA.
Posts: 227
Thanks: 1
Thanked 7 Times in 7 Posts

My response is based solely on your question verbiage.
================================================== =====
I would not say one list is more efficient than the other, but rather both lists are equally efficient and important based on which list references the information needed. In other words, I look at the "CardLib" as a Card Catalogue, with the "List.Contains" as defining the Types of Cards/Subsections in the Card Catalogue, i.e. Birthday, Graduation, Holiday etc. Finally the "InnerList.Contains", the Arraylist, contains all the cards within the subsection within the card catalogue. The InnerList defines the granular level. You will be able to access the entire Card Catalogue or the catalogue by sections or a single card.

Hope this helps.

Disclaimer: The above comments are solely the opinion of one person and not to be construed as a directive or an incentive to commit fraudulent acts.
Reply With Quote