Searched refs:Hit (Results 1 - 11 of 11) sorted by relevance

/opengrok-jel/test/org/opensolaris/opengrok/search/
H A DHitTest.java30 * Do basic sanity testing of the Hit class
38 Hit instance = new Hit();
47 Hit instance = new Hit("/foo/bar", null, null, false, false);
54 Hit instance = new Hit();
63 Hit instance = new Hit();
72 Hit o
[all...]
H A DSearchEngineTest.java172 List<Hit> hits = new ArrayList<Hit>();
188 for (Hit hit : hits) {
203 for (Hit hit : hits) {
217 for (Hit hit : hits) {
/opengrok-jel/src/org/opensolaris/opengrok/search/
H A DHit.java33 public class Hit implements Comparable<Hit> { class in inherits:Comparable
70 * Creates a new instance of Hit
72 public Hit() { method in class:Hit
77 * Creates a new instance of Hit
85 public Hit(String filename, String line, String lineno, boolean binary, boolean alt) { method in class:Hit
182 public int compareTo(Hit o) throws ClassCastException {
237 * to match the return value of the {@link #compareTo(Hit)} method.
243 if (o instanceof Hit) {
244 return compareTo((Hit)
[all...]
H A DSearch.java49 final List<Hit> results = new ArrayList<Hit>();
129 for (Hit hit : results) {
150 for (Hit hit : results) {
H A DSearchEngine.java328 public void results(int start, int end, List<Hit> ret) {
413 Hit hit = new Hit(filename,
438 ret.add(new Hit(filename, "...", "", false, alt));
/opengrok-jel/test/org/opensolaris/opengrok/search/context/
H A DContextTest.java41 import org.opensolaris.opengrok.search.Hit;
139 List<Hit> hits = hitList ? new ArrayList<Hit>() : null;
167 hits = hitList ? new ArrayList<Hit>() : null;
187 hits = hitList ? new ArrayList<Hit>() : null;
207 hits = hitList ? new ArrayList<Hit>() : null;
220 hits = hitList ? new ArrayList<Hit>() : null;
430 ArrayList<Hit> hits = new ArrayList<Hit>();
H A DHistoryContextTest.java38 import org.opensolaris.opengrok.search.Hit;
90 ArrayList<Hit> hits = new ArrayList<Hit>();
/opengrok-jel/src/org/opensolaris/opengrok/search/context/
H A DContext.java45 import org.opensolaris.opengrok.search.Hit;
148 List<Hit> hits)
174 Hit hit = new Hit(path,
H A DHistoryContext.java41 import org.opensolaris.opengrok.search.Hit;
94 public boolean getContext(String filename, String path, List<Hit> hits)
158 List<Hit> hits, String wcontext)
204 hits.add(new Hit(path, sb.toString(), "", false, false));
H A DPlainLineTokenizer.lex35 import org.opensolaris.opengrok.search.Hit;
67 List<Hit> hits;
68 Hit hit;
90 hit = new Hit(filename, null, null, false, alt);
94 * Set the list we should create Hit objects for
96 * @param hits the hits we should add Hit objects
98 public void setHitList(List<Hit> hits) {
266 hit = new Hit(url, null, null, false, alt);
374 hit = new Hit(url, "<html>"
428 hit = new Hit(ur
[all...]
H A DHistoryLineTokenizer.lex26 import org.opensolaris.opengrok.search.Hit;

Completed in 61 milliseconds