code: public static boolean safeCloseAll(Closeable... closeables) {
          boolean result = true;
          for (final Closeable c : closeables) {
              result &= safeClose(c);
          }
          return result;
      }
docs: Closes all of the given {@link Closeable Closeables} by calling
  {@link #safeClose(Closeable)} for each element in the array.
  
  @param closeables The array of Closeables.
  @return Whether closing of all Closables was successful.