File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Wrappers with String and Collections

 
Sekhar Choudary
Ranch Hand
Posts: 57
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


I am getting the size as 3
Can anyone expalin this.
Thanks
 
Henry Wong
author
Marshal
Pie
Posts: 20833
75
C++ Chrome Eclipse IDE Firefox Browser Java jQuery Linux VI Editor Windows
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
To understand why this is so, you need to understand hashing. And since you asked about hashing here...

http://www.coderanch.com/t/269877/java-programmer-SCJP/certification/Help-hashcodes

I think it is best if you undertand that first.

Henry
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic