corelib.services.web.searchengine
Class SearchResultSet

java.lang.Object
  extended by corelib.services.web.searchengine.SearchResultSet

public class SearchResultSet
extends java.lang.Object

This class store result for a query on the SearchEngine database.

Since:
0.2.3
Author:
Alexia Ramaioli & Dominique Liard

Method Summary
 int getCount()
          Returns the number of results stored in this SearchResulSet.
 SearchResult getSetResult(int index)
          Returns one result, by his index, stored in this SearchResultSet.
 SearchResult[] toArray()
          Generates a new classical array containing all SearchResult.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getCount

public int getCount()
Returns the number of results stored in this SearchResulSet.

Returns:
The number of results.

getSetResult

public SearchResult getSetResult(int index)
Returns one result, by his index, stored in this SearchResultSet.

Parameters:
index - The position of the requested result.
Returns:
The request SearchResult instance.

toArray

public SearchResult[] toArray()
Generates a new classical array containing all SearchResult.

Returns:
The classical array of SearchResult.


CAUTION: Ellipse is proposed to you in BETA version to allow evaluation of this framework. Infini Software is released from any responsibility for the use of Ellipse Framework.

Copyright 2012 Infini Software - All Rights Reserved.