code: static <T> boolean setEquals(T[] a, T[] b)
      {
          if (a == null || a.length == 0) {
              return b == null || b.length == 0;
          }
          return new TreeSet<Object>(Arrays.asList(a)).equals(new TreeSet<Object>(Arrays.asList(b)));
      }
docs: d680497.1