19 package org.turro.elephant.search;
21 import com.google.gson.Gson;
23 import java.util.TreeMap;
31 private final Map<String, SearchCategory> results =
new TreeMap<>();
35 if(category ==
null) {
37 results.put(categoryId, category);
43 return new Gson().toJson(
this);
void addItem(String categoryId, String categoryName, SearchItem item)
void addItem(SearchItem item)