• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Collection

 
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is the OTHER real world application that uses Collection implementations?
The only thing I know is for database application, is there any?
Thanks...
 
Sheriff
Posts: 7001
6
Eclipse IDE Python C++ Debian Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Umm, I think you might be misunderstanding what Collections are about. I can't think of any Java project I've ever written, however small, which hasn't used at least one of the collections classes somewhere. Hardly any of these projects used a database.
Collections are a vital part of keeping track of your objects and information while a program is running, and they form the backbone of many of the most important "design patterns".
Here's a challenge for you, to help get you thinking like a Java "pro". Think of a small java program, pretty much anything is OK, briefly describe here what it should do, and we will chip in about ways you could use Collections classes to help write it.
Deal ?
 
Ranch Hand
Posts: 1056
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Expandable arrays (Vector and ArrayList in Java) and associative arrays (Hashtable and HashMap in Java) are pretty fundamental data structures. Once I used a language that had them built-in (Perl), I never wanted to do without them again.
[ August 20, 2002: Message edited by: Ron Newman ]
 
Nelson Nadal
Ranch Hand
Posts: 170
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Frank...
OK I will do, but I'm wondring, do I need to show all the codes here?
Thanks too, Ron.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic