Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Cannot find AbstractStringBuilder in Java API 7 (Mala Gupta's book mentions that class in chapter 4)

 
Mohammad Ali Asgar
Ranch Hand
Posts: 39
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Hello Everyone,

Those of you who have copies of Mala Gupta's book on OCAJP7, please help me out.

I was reading through chapter 4 about mutable String objects that are instances of StringBuilder. According to the book, StringBuilder's superclass is AbstractStringBuilder. But I could not locate that abstract class in the Java 7 API listing.

Please comment.

----- softwarelover
 
Roel De Nijs
Sheriff
Posts: 10662
144
AngularJS Chrome Eclipse IDE Hibernate Java jQuery MySQL Database Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mohammad,

The class AbstractStringBuilder has default access and I guess the javadoc is only generated for the public classes and methods. That's why you can't find it in the API listing. Here you can find the class.

Hope it helps!
Kind regards,
Roel
 
Mohammad Ali Asgar
Ranch Hand
Posts: 39
1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Aaah, now it all makes sense.. Thanks!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic