• 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

Priority Queue , finding difficult to understnd the poll(), peak() etc

 
Ranch Hand
Posts: 1087
Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Priority Queue , finding difficult to understnd the poll(), peak() etc

In short finding difficult to understand Collection framework when reading it from SCJP6


I did get some basic ideas as of overidding hashcode() and equals() method ..but further i read it turns out complicated

Comparable interface comparator interface etc are really twisting my brainzzzz out.....

Should i skip it and try reading packages?
 
Sheriff
Posts: 9707
43
Android Google Web Toolkit Hibernate IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The collections chapter is not related to other chapters so you can skip it for now. But you'll have to read it at some point. Try some online tutorials or some other books (you didn't clearly mention which book you are currently using)...
 
Vishal Hegde
Ranch Hand
Posts: 1087
Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
SCJP6 by kathy

Is it ok if i skip generics and collections???


Its being a real difficult to understand it.

Today i was reading Backed collections twice just to understand it
 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Is it ok if i skip generics and collections???



Ship it for the time being or in its entirely ? That topics is important for the exam and in work life
 
Vishal Hegde
Ranch Hand
Posts: 1087
Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Deepak,

Thanks for your advice...Anyhow have read it two times to understand it..understood it to some extent but stuck in between...will skip it and will be reading at the end....
 
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
come on, you mean *peek()* ? not *peak()* !
 
Vishal Hegde
Ranch Hand
Posts: 1087
Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Kumar Manish wrote:come on, you mean *peek()* ? not *peak()* !




Yes Peek() haha
 
reply
    Bookmark Topic Watch Topic
  • New Topic