Java:数组类型的javadocs

标签 java arrays api javadoc

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

关于Java:数组类型的javadocs,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/27593322/

相关文章:

java - GLSL 着色器无法在 Android 上编译

python - 将字符串(索引)列表转换为 Numpy 数组

ios - Swift 4 按第一个值排序字典

java - 比较AST的API?

api - 使用 Web Audio Api、Ionic 和 Crosswalk 在左/右声道播放振荡器

java - 如何执行文本文件的二进制搜索

java - Spark SQL - 包含列表或数组作为元素的元组的编码器

java - 安卓 PACT 演示应用程序

C++ Windows 添加选项到菜单