MCPcopy Create free account
hub / github.com/codenameone/CodenameOne / getActualArrayLength

Method getActualArrayLength

Ports/CLDC11/src/java/util/BitSet.java:871–882  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

869 }
870
871 private final int getActualArrayLength() {
872 if (isLengthActual) {
873 return actualArrayLength;
874 }
875 int idx = actualArrayLength - 1;
876 while (idx >= 0 && bits[idx] == 0) {
877 --idx;
878 }
879 actualArrayLength = idx + 1;
880 isLengthActual = true;
881 return actualArrayLength;
882 }
883
884 /// Returns a string containing a concise, human-readable description of the
885 /// receiver.

Callers 2

orMethod · 0.45
xorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected