BrightSide Workbench Full Report + Source Code
org.turro.elephant.search.SearchResult Class Reference

Public Member Functions

void addItem (SearchItem item)
 
String toJson ()
 

Detailed Description

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

Definition at line 29 of file SearchResult.java.

Member Function Documentation

◆ addItem()

void org.turro.elephant.search.SearchResult.addItem ( SearchItem  item)

Definition at line 33 of file SearchResult.java.

33  {
34  results.add(item);
35  }

◆ toJson()

String org.turro.elephant.search.SearchResult.toJson ( )

Definition at line 37 of file SearchResult.java.

37  {
38  return new Gson().toJson(this);
39  }

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