Class SearchResults


  • public final class SearchResults
    extends java.lang.Object
    This object stores the result of a given search. It provides information object where in the set the found elements are, and the number of elements in the set that match the search criteria.

    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) int found_count
      The number of elements in the array that match the given search criteria.
      (package private) int found_index
      The index in the array of the found elements.
    • Constructor Summary

      Constructors 
      Constructor Description
      SearchResults()
      The Constructor.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getCount()
      Functions for querying information in the results.
      int getIndex()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • found_index

        int found_index
        The index in the array of the found elements.
      • found_count

        int found_count
        The number of elements in the array that match the given search criteria.
    • Constructor Detail

      • SearchResults

        public SearchResults()
        The Constructor.
    • Method Detail

      • getCount

        public int getCount()
        Functions for querying information in the results.
      • getIndex

        public int getIndex()