我正在为
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.