注释功能//
//可以像编程语言一样使用,编译时自动删除,另外/* */依然可用,编译时不删除。
多行注释如下,每一行不要超过80个字符为佳:
/**
* Helper class to truncate and add ellipsis to a string too long for it to fit
* on a single line.
* 1. Prevent content from wrapping, forcing it on a single line.
* 2. Add ellipsis at the end of the line.
*/