code: public static boolean[] invert(boolean[] binary)
      {
          Check.notNull(binary);
  
          final boolean[] inverted = new boolean[binary.length];
          for (int i = 0; i < inverted.length; i++)
          {
              inverted[i] = !binary[i];
          }
          return inverted;
      }
docs: Invert binary array (apply a negation to each value).
  
  @param binary The binary array (must not be <code>null</code>).
  @return The inverted binary array representation.
  @throws LionEngineException If invalid arguments.