MCPcopy Index your code
hub / github.com/clojure/clojure / getDimensions

Method getDimensions

src/jvm/clojure/asm/Type.java:467–473  ·  view source on GitHub ↗

Returns the number of dimensions of this array type. This method should only be used for an array type. @return the number of dimensions of this array type.

()

Source from the content-addressed store, hash-verified

465 * @return the number of dimensions of this array type.
466 */
467 public int getDimensions() {
468 int numDimensions = 1;
469 while (valueBuffer.charAt(valueBegin + numDimensions) == '[') {
470 numDimensions++;
471 }
472 return numDimensions;
473 }
474
475 /**
476 * Returns the type of the elements of this array type. This method should only be used for an

Callers 2

getElementTypeMethod · 0.95
getClassNameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected