A code naming
Hump nomenclature (CamelCase)
Google defines the following conversion rules:
-
Starts from the normal form of expression, converted into ASCII code phrases, and removes the single quotation marks. For example, "Müller's algorithm" is converted to "Muellers algorithm";
-
If the above results contain other punctuation, such as a hyphen, this symbol, the result of this cut form into words. If a word is already a hump form, correspondingly cut separately. For example, "AdWords" cut into "ad words", "non-current assets" cut into "non current assets";
-
All letters will be converted to lowercase, and then the first letter of each word capitalized, so get a big camel named form; if the first letter of the first word lowercase, you get a small camel named form;
-
All the words together, is the last of the identifier name.
Java naming conventions