Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Java: javadocs of arrays type

I am searching for something like javadocs for the arrays in Java. What methods, what their signatures and what they do. I got this problem, because IDE (Intelij) if you click on the called method of the array with pressed cntrl, shows nothing.

like image 521
serg Avatar asked Dec 04 '25 10:12

serg


1 Answers

See the Java Language Specification §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.

like image 135
NPE Avatar answered Dec 06 '25 22:12

NPE