code: public void setCount(Object o,int c) {
      int[] nums = (int[]) cset.get(o);
      if (nums != null) {
        nums[0] = c;
      }
      else {
        cset.put(o,new int[]{c,1});
      }
    }
docs: Assigns the specified object the specified count in the set.
  @param o The object to be added or updated in the set.
  @param c The count of the specified object.