• Post Reply Bookmark Topic Watch Topic
  • New Topic

why t is small in Hashtable class of java  RSS feed

 
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: 53779
128
  • 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: 5167
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
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!