Last change
on this file since 16583 was 16583, checked in by davidb, 16 years ago |
Undoing change commited in r16582
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
370 bytes
|
Line | |
---|
1 | package org.greenstone.mgpp;
|
---|
2 |
|
---|
3 | /** DocInfo 'struct' class for a search result from mgpp
|
---|
4 | * used by MGPPQueryResult
|
---|
5 | *
|
---|
6 | * @See MGPPQueryResult
|
---|
7 | */
|
---|
8 | public class MGPPDocInfo {
|
---|
9 |
|
---|
10 | public long num_=0;
|
---|
11 | public float rank_=0;
|
---|
12 |
|
---|
13 | public MGPPDocInfo(long doc, float rank) {
|
---|
14 | num_=doc;
|
---|
15 | rank_=rank;
|
---|
16 | }
|
---|
17 | public String toString(){
|
---|
18 | return ""+num_+"("+rank_+")";
|
---|
19 | }
|
---|
20 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.