18 package org.turro.elephant.search;
20 import java.util.TreeSet;
29 private String id, link, image, title, value;
30 private double similarity;
32 public FoundItem(String
id, String link, String image,
33 String title, String value,
double similarity, String query) {
39 this.similarity = similarity;
42 public String
getId() {
return id; }
66 public void addItem(String
id, String link, String image,
67 String title, String value,
double similarity, String query) {
68 add(
new FoundItem(
id, link, image, title, value, similarity, query));
FoundItem(String id, String link, String image, String title, String value, double similarity, String query)
void addItem(String id, String link, String image, String title, String value, double similarity, String query)
void addResults(FoundList newList)