BrightSide Workbench Full Report + Source Code
org.turro.elephant.search.FoundList Class Reference
Inheritance diagram for org.turro.elephant.search.FoundList:
Collaboration diagram for org.turro.elephant.search.FoundList:

Classes

class  FoundItem
 

Public Member Functions

 FoundList ()
 
void addResults (FoundList newList)
 
void addItem (String id, String link, String image, String title, String value, double similarity, String query)
 
int getCount ()
 

Detailed Description

Author
Lluis TurrĂ³ Cutiller lluis.nosp@m.@tur.nosp@m.ro.or.nosp@m.g

Definition at line 26 of file FoundList.java.

Constructor & Destructor Documentation

◆ FoundList()

org.turro.elephant.search.FoundList.FoundList ( )

Creates a new instance of FoundList

Definition at line 56 of file FoundList.java.

56  {
57  super(new FoundComparator());
58  }

Member Function Documentation

◆ addItem()

void org.turro.elephant.search.FoundList.addItem ( String  id,
String  link,
String  image,
String  title,
String  value,
double  similarity,
String  query 
)

Definition at line 66 of file FoundList.java.

67  {
68  add(new FoundItem(id, link, image, title, value, similarity, query));
69  }
Here is the caller graph for this function:

◆ addResults()

void org.turro.elephant.search.FoundList.addResults ( FoundList  newList)

Definition at line 60 of file FoundList.java.

60  {
61  if(newList != null) {
62  addAll(newList);
63  }
64  }
Here is the caller graph for this function:

◆ getCount()

int org.turro.elephant.search.FoundList.getCount ( )

Definition at line 71 of file FoundList.java.

71  {
72  return size();
73  }

The documentation for this class was generated from the following file: