• 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 framework

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can u please explain me collection framework in java with examples?
 
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sure! Please read my explanation here, I've even provided examples just like you asked.
[ December 28, 2005: Message edited by: Stuart Ash ]
 
ms radhika
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thank u
 
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Stuart Ash / AKA Joshua Bloch, while you're at it, could you write a book of Java Puzzles and illustrate it with optical illusions? You may have a coauthor .

 
Ranch Hand
Posts: 1078
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What the?
 
Sheriff
Posts: 11343
Mac Safari Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"krk,"

Welcome to JavaRanch!

Please revise your display name to meet the JavaRanch Naming Policy. To maintain the friendly atmosphere here at the ranch, we like folks to use real (or at least real-looking) names, with a first and a last name.

You can edit your name here.

Thank you for your prompt attention, and enjoy the ranch!

-Marc
 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by krk:
can u please explain me collection framework in java with examples?



Sure. The collections framework are data structures that's been implemented for you so you don't have to do it yourself.

It requires you to know about general data structures. You should know about dynamic arrays, linked lists, hash tables, trees, and maps. Also you should know aboout mathematical abstractions such as Lists, Sets and Maps.

If you do they're heaven sent. If you don't you're likely to screw up.
 
Stuart Ash
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jeff Albrechtsen:
Stuart Ash / AKA Joshua Bloch, while you're at it, could you write a book of Java Puzzles and illustrate it with optical illusions? You may have a coauthor .



LOL, I wasn't usurping ol' boy Josh. Just trying to answer the asker in the same tune.

But if you are interested in coauthoring this, let's talk about it

Let's add a dose of nostalgia - let's call it My Recollections of Collections ??
 
Stuart Ash
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Or since you spoke about optical illusions, how about Recollections of Kaleidoscopic Collections

 
Jeff Albertson
Ranch Hand
Posts: 1780
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Now I think it's my turn to have my leg pulled

Did you realize I was referring to Bloch's latest book:
https://coderanch.com/t/93776/Book-Reviews/Java-Puzzlers-Traps-Pitfalls-Corner
 
Stuart Ash
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Jeff Albrechtsen:
Now I think it's my turn to have my leg pulled

Did you realize I was referring to Bloch's latest book:
https://coderanch.com/t/93776/Book-Reviews/Java-Puzzlers-Traps-Pitfalls-Corner



Wow, it that the real Josh?? I'd need some convincing, what with so many imposters on Java Ranch!

The book sounds fun though, a need-for-read case!

 
He repaced his skull with glass. So you can see his brain. Kinda like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic