@suppresswarnings(unchecked)作用解释文档(@suppresswarnings (unchecked) action interpretation document).docVIP
- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
@suppresswarnings(unchecked)作用解释文档(@suppresswarnings (unchecked) action interpretation document)
@suppresswarnings(unchecked)作用解释文档(@suppresswarnings (unchecked) action interpretation document)
@SuppressWarnings (unchecked) explanation document
Explain:
Some compile time warnings for shielding
When compulsory type conversion compiler will issue a warning
Add
Program code
@SuppressWarnings (unchecked)
Do not warn
Explain two:
Note Types
When your encoding may exist warnings, such as safety warning, it can be used to eliminate
API is described
Instructions should be in the annotation element (and contains all program elements in the element in the specified) cancel the compiler warning display. Note that in a given element to cancel the warning display set is a superset of all cancelled warnings displayed the containing element. For example, if a class notes to cancel the display a warning at the same time, notes a method to cancel the show another warning, so this method will also cancel the two warning display.
According to the different styles, the programmer should always use this annotation in nested elements the inside, where it is effective. If you want to cancel the show a warning in a specific way, you should note this method rather than its class notes.
Explain three:
@SuppressWarnings
The last comment J2SE is @SuppressWarnings. The annotation is to give the compiler a command, tell it to be some elements of the internal code comments warning silence.
A little background: added several new features of J2SE 5 for the Java language, and together they added many new warnings and promised to increase more warning in the future. You can add -Xlint javac parameter to control whether to report these warnings (such as @Deprecated above).
By default, the Sun compiler to output in the form of two simple lines of the warning. By adding -Xlint:keyword markers (such as -Xlint:finally), you can get a complete description of the keyword type error. By adding a dash in front of the keyword, write to -Xlint:-keyword, you can cancel the warning. (a complete list of suppo
您可能关注的文档
- 驾驶习惯秘密.doc
- 风门气密性测试系统 -.ppt
- 高一种语言将强制两个指导家.ppt
- 饥饿秘密.doc
- 高一个语言精彩对联.ppt
- 高三文言文复习教案.doc
- 靳尚谊素描作品欣赏.pdf
- 高三语强制四级单位审查.ppt
- 高三世界史复习.ppt
- 骨科核心期刊学术影响分析.pdf
- a - 裁判员的手势图(A - referee's gesture).doc
- a summer day(夏季的一天).doc
- a6 d-dimer金标法检测操作规程(A6 D-dimer gold standard test procedure).doc
- aab式 aabb式 abb式词语大全(AAB, AABB, abb type words Daquan).doc
- abc知识 谈谈镜头与镜头焦距(ABC knowledge about lens and lens focal length).doc
- aftereffects《骇客》素材精彩实例教程(上)(后果《骇客》素材精彩实例教程(上)).doc
- aix环境变量(Aix环境变量).doc
- aix部署web服务手顺(AIX deploy Web Services hand in hand).doc
- all, both, every, each, either, neither的用法(一切,都,每每,,不的用法).doc
- android系统手机专业词语(Android系统手机专业词语).doc
文档评论(0)