Package net.fp.rp.search.back.struct

Examples of net.fp.rp.search.back.struct.DocumSetStruct


                                    j++) {
                                DocumStruct doc = (DocumStruct) result.getDocuments()
                                                                      .get(j);

                                //create a new document set and it to the list
                                listLinks.add(new DocumSetStruct(
                                        doc.getCategoryName(), doc.getId(),
                                        average * weight));
                            }
                        }
                    }
View Full Code Here


            return;
        }

        //iterate over the list
        for (int i = 0; i < listLinks.size(); i++) {
            DocumSetStruct currentDoc = (DocumSetStruct) listLinks.get(i);

            LinkedList listElemUnique = new LinkedList();

            for (int j = 0; j < listLinks.size(); j++) {
                DocumSetStruct comp = (DocumSetStruct) listLinks.get(j);

                //make a new list with the unique elements (categorname,documentid)
                if ((i != j) &&
                        !(currentDoc.getCategoryName().equals(comp.getCategoryName()) &&
                        currentDoc.getDocumentId().equals(comp.getDocumentId()))) {
                    listElemUnique.add(comp.getCategoryName() + SEPARATOR +
                        comp.getDocumentId());
                }
            }

            //get the model path for the 
            String modelpath = getModelPath(currentDoc.getCategoryName(),
View Full Code Here

TOP

Related Classes of net.fp.rp.search.back.struct.DocumSetStruct

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.