()
| 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. |