source: tags/ant-install-branch-merged-1/mgpp/java/org/greenstone/mgpp/MGPPDocInfo.java@ 9873

Last change on this file since 9873 was 9873, checked in by (none), 19 years ago

This commit was manufactured by cvs2svn to create tag
'ant-install-branch-merged-1'.

  • Property svn:keywords set to Author Date Id Revision
File size: 370 bytes
Line 
1package org.greenstone.mgpp;
2
3/** DocInfo 'struct' class for a search result from mgpp
4 * used by MGPPQueryResult
5 *
6 * @See MGPPQueryResult
7 */
8public 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.