title: Randomly filling a 2d boolean array with equal amounts of both values
body: <p>I'm trying to find a way to fill a 2d array of length n with boolean values randomly.  The array must have an equal amount of each value if n is even, and if n is odd the extra value must be the same boolean each and every time (doesn't matter which one).  Any tips on how to do this in Java? I'm currently shuffling arrays that I make with equal amounts of both values, but this isn't truly random because there will always be n/2 (or n/2+1 and n/2-1 for the odd ns) of each value.  </p>
  
  <p>Any advice?</p>