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

why t is small in Hashtable class of java

 
Ishant Agarwal
Greenhorn
Posts: 22
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
why t is small in Hashtable class of java
 
John Jai
Rancher
Posts: 1776
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just a guess... since Map and Set are interfaces and hence HashMap and HashSet have capitals... and there is no such collection interface named Table as such..
 
Campbell Ritchie
Sheriff
Posts: 51448
87
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Because somebody thought hashtable is all one word? Because somebody misunderstood the convention about subsequent words having capital letters? I think there probably is no deep mysterious reason for it.
 
Matthew Brown
Bartender
Posts: 4568
9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And because once it's been released with that spelling (back in the original version of Java) it's too late to change it.
 
Darryl Burke
Bartender
Posts: 5149
11
Java Netbeans IDE Opera
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hashtable isn't alone. There's also java.awt.Checkbox, and, arguably FilenameFilter and the 4 classes starting with Charset
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic