Why is the T in Hashtable in Java lowercase

Source: Internet
Author: User

Because many years ago just learn Java when used to Hashtable time is more curious why the second T is lowercase, this does not conform to the Sun's style ah, the entire JDK is the standard hump, so with this question over a lot of books, see a lot of information, the final conclusion is:

Hashtable's second T-lowercase is Sun's fault, many books mention the problem, many people have suggested to Sun to revise, and then Sun did discuss the problem of T, but because Hashtable is the product of jdk1.0:

  

Blind substitution will lead to a lot of old system is not compatible at all, so Sun decided to keep the lowercase t, let it continue unreasonable existence, at that time did not care too much, until see C # side of the Hashtable, the heart a little happy flowering feeling, so probably turned a lot of C # class, In fact, like Java, is the standard hump, but Hashtable is very exceptional, but it may be I understand the very superficial, no understanding of the depth of the place.

  

C # and Java have too many similarities, from Orm to IOC,AOP, ever similar, similar to to even Hashtable t all lowercase, think about a little happy

Http://www.cnblogs.com/bfchuan/p/4203001.html

Why is the T in Hashtable in Java lowercase (go)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.