org.apache.jetspeed.services.search
Class SearchResults

java.lang.Object
  extended byorg.apache.jetspeed.services.search.SearchResults

public class SearchResults
extends java.lang.Object

Container for search result entries

Version:
$Id: SearchResults.java,v 1.3 2004/02/23 03:48:47 jford Exp $
Author:
David Sean taylor

Constructor Summary
SearchResults()
           
SearchResults(int initialCapacity)
           
 
Method Summary
 void add(int index, ParsedObject searchResult)
           
 boolean add(ParsedObject searchResult)
           
 ParsedObject get(int index)
           
 java.util.List getResults()
           
 int size()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SearchResults

public SearchResults()

SearchResults

public SearchResults(int initialCapacity)
Parameters:
initialCapacity -
Method Detail

add

public boolean add(ParsedObject searchResult)
Parameters:
searchResult -
Returns:

add

public void add(int index,
                ParsedObject searchResult)
Parameters:
index -
searchResult -

get

public ParsedObject get(int index)
Parameters:
index -
Returns:

size

public int size()
Returns:

getResults

public java.util.List getResults()
Returns:


Copyright © 2000-2005 Apache Software Foundation. All Rights Reserved.