• 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

Typo OCPJP Study Guide Boyarsky-Selikoff

 
Greenhorn
Posts: 22
4
Android Java Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On page 189, second paragraph after the first code example:

We can't create an infinite list, though, which makes streams more powerful.


I guess we can create them, as it is explained in the next paragraph.

Also, there is a corrected typo about Comparable being in the java.lang package (page 145, found by Mike Constantin). Related to this, the last paragraph on page 145 should be omitted, or at least the first two lines:

You might have noticed by now that we have been writing java.util.Comparable. That's because it is in the java.util.package.



There are lots of new information in this manual -- the OCA cert exam seems now easy
 
Miguel Callejón
Greenhorn
Posts: 22
4
Android Java Ubuntu
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Miguel Callejón wrote:On page 189, second paragraph after the first code example:

We can't create an infinite list, though, which makes streams more powerful.


I guess we can create them, as it is explained in the next paragraph.

OK, I reread this. We can't create infinite lists, but we can create an infinite stream

 
author & internet detective
Posts: 41878
909
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Correct. An infinite stream is only a problem if you try to look at all the elements
 
reply
    Bookmark Topic Watch Topic
  • New Topic