Interface SearchResultIF

  • All Known Implementing Classes:
    AbstractSearchResult

    public interface SearchResultIF
    PUBLIC: Search result interfaced used by implementations of the SearcherIF interface.

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void close()
      PUBLIC: Closes the search result.
      float getScore()
      PUBLIC: Gets the score for the current result value;
      Object getValue()
      PUBLIC: Gets the current result value.
      boolean next()
      PUBLIC: Moves ahead to the next result.
    • Method Detail

      • next

        boolean next()
        PUBLIC: Moves ahead to the next result. Returns true if there were more results.
      • getValue

        Object getValue()
        PUBLIC: Gets the current result value.
      • getScore

        float getScore()
        PUBLIC: Gets the score for the current result value;
      • close

        void close()
        PUBLIC: Closes the search result. This method will be called when done with the search results, so that resources can be released.