org.apache.jetspeed.search.lucene
Class SearchResultsImpl

java.lang.Object
  extended by org.apache.jetspeed.search.lucene.SearchResultsImpl
All Implemented Interfaces:
org.apache.jetspeed.search.SearchResults

public class SearchResultsImpl
extends Object
implements org.apache.jetspeed.search.SearchResults

Author:
Jeremy Ford

Field Summary
(package private)  List results
           
 
Constructor Summary
SearchResultsImpl(List results)
           
 
Method Summary
 org.apache.jetspeed.search.ParsedObject get(int index)
           
 List getResults()
           
 List getResults(int fromIndex, int toIndex)
           
 Iterator iterator()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

results

List results
Constructor Detail

SearchResultsImpl

public SearchResultsImpl(List results)
Method Detail

size

public int size()
Specified by:
size in interface org.apache.jetspeed.search.SearchResults

iterator

public Iterator iterator()
Specified by:
iterator in interface org.apache.jetspeed.search.SearchResults

get

public org.apache.jetspeed.search.ParsedObject get(int index)
Specified by:
get in interface org.apache.jetspeed.search.SearchResults

getResults

public List getResults()
Specified by:
getResults in interface org.apache.jetspeed.search.SearchResults

getResults

public List getResults(int fromIndex,
                       int toIndex)
Specified by:
getResults in interface org.apache.jetspeed.search.SearchResults


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.