views:

85

answers:

2

we know:

ArrayList;
LinkedList;
TreeMap

and other... and all names in CamelCase format, but why Hashtable, not HashTable?

it is unprincipled question, just wondering :)

+7  A: 

Hashtable was created in Java v1. The consistent naming conventions for collections were established later, in Java2, when the other classes were published as part of the brand new Java Collection Framework.

Which btw made Hashtable obsolete, so it should not be used in new code.

Péter Török
I'm pretty sure that the java naming conventions were well established by Java 1.1. There are actually very few "violations".
Stephen C
@Stephen C, you are most probably right in general, my question referred specifically to the naming of collection classes. I edited my answer to clarify.
Péter Török
+2  A: 

It's a typo. Same as Cloneable (should be Clonable). Or Referer (should be Referrer)

irreputable