加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 编程开发 > Java > 正文

Java:数组类型的javadocs

发布时间:2020-12-15 04:24:21 所属栏目:Java 来源:网络整理
导读:我正在为 Java中的数组搜索类似javadocs的东西.什么方法,他们的签名和他们做什么.我遇到了这个问题,因为IDE(Intelij)如果用cntrl点击数组的被调用方法,则不显示任何内容. 解决方法 请参阅Java语言规范 §10.7. Array Members: The members of an array type
我正在为 Java中的数组搜索类似javadocs的东西.什么方法,他们的签名和他们做什么.我遇到了这个问题,因为IDE(Intelij)如果用cntrl点击数组的被调用方法,则不显示任何内容.

解决方法

请参阅Java语言规范 §10.7. Array Members:

The members of an array type are all of the following:

  • The public final field length,which contains the number of components of the array. length may be positive or zero.

  • The public method clone,which overrides the method of the same name in class Object and throws no checked exceptions. The return type of the clone method of an array type T[] is T[].

  • All the members inherited from class Object; the only method of Object that is not inherited is its clone method.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读