org.apache.jetspeed.search.lucene
Class SearchResultsImpl

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

public class SearchResultsImpl
extends java.lang.Object
implements SearchResults

Author:
Jeremy Ford

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

Constructor Detail

SearchResultsImpl

public SearchResultsImpl(java.util.List results)
Method Detail

size

public int size()
Specified by:
size in interface SearchResults

iterator

public java.util.Iterator iterator()
Specified by:
iterator in interface SearchResults

get

public ParsedObject get(int index)
Specified by:
get in interface SearchResults

getResults

public java.util.List getResults()
Specified by:
getResults in interface SearchResults

getResults

public java.util.List getResults(int fromIndex,
                                 int toIndex)
Specified by:
getResults in interface SearchResults


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