Returns an array containing the same values as array, but
guaranteed to be of a specified minimum length. If array already
has a length of at least minLength, it is returned directly.
Otherwise, a new array of size minLength + padding is returned,
containing the values of array, and zeroes in the remaining places.

Parameters:

array the source array

minLength the minimum length the returned array must guarantee

padding an extra amount to "grow" the array by if growth is
necessary

Returns:

an array containing the values of array, with guaranteed
minimum length minLength

Returns a comparator that compares two boolean arrays
lexicographically. That is, it compares, using compare(boolean,boolean)), the first pair of values that follow any
common prefix, or when one array is a prefix of the other, treats the
shorter array as the lesser. For example,
[] < [false] < [false, true] < [true].

The returned list maintains the values, but not the identities, of
Boolean objects written to or read from it. For example, whether
list.get(0) == list.get(0) is true for the returned list is
unspecified.