code: public List<ItemSet> getFrequentItemsets() {
          List<ItemSet> list = new ArrayList<>();
          getFrequentItemsets(null, list);
          return list;
      }
docs: Mines the frequent item sets. The discovered frequent item sets
  will be returned in a list.
  @return the list of frequent item sets