|
|||||
PREV CLASS NEXT CLASS | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--swishej.ResultList
Representation of search result lists
Search
Field Summary | |
(package private) Result |
first
First result in list. |
(package private) Result |
last
Last result in list. |
Constructor Summary | |
(package private) |
ResultList()
Create new empty result list. |
Method Summary | |
(package private) void |
add(int filenum,
int rank,
int structure)
Add result described by three integer numbers to result list |
(package private) static ResultList |
andresultlists(ResultList r1,
ResultList r2,
int andLevel)
AND two result lists by traversing over all elements and accumulating rank information for elements which occur in both lists. |
(package private) boolean |
empty()
Test result list being empty. |
(package private) static void |
mergeResult(int f,
int r,
int s,
java.util.Hashtable list)
Merge result described by three integer numbers into a local result list |
(package private) static ResultList |
notresultlist(ResultList rl,
int maxfilenum)
NOT a result list and return a new result list. |
(package private) static ResultList |
orresultlists(ResultList r1,
ResultList r2)
OR two result lists by merging all results and forming a new result list. |
Methods inherited from class java.lang.Object |
|
Field Detail |
Result first
Result last
Constructor Detail |
ResultList()
Method Detail |
static void mergeResult(int f, int r, int s, java.util.Hashtable list)
f
- file number (short)r
- rank for sortings
- structure taglist
- table which holds the merged resultsvoid add(int filenum, int rank, int structure)
f
- file number (short)r
- rank for sortings
- structure tagboolean empty()
static ResultList orresultlists(ResultList r1, ResultList r2)
r1
- first result list or nullr2
- second result list or nullstatic ResultList andresultlists(ResultList r1, ResultList r2, int andLevel)
r1
- first result list or nullr2
- second result list or nullstatic ResultList notresultlist(ResultList rl, int maxfilenum)
rl
- result list to be NOTedmaxfilenum
- highest short file number
|
|||||
PREV CLASS NEXT CLASS | |||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |