Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## net.ivoa.registry.search
Class SearchResults

    java.lang.Object
      net.ivoa.registry.search.SearchResults

Direct Known Subclasses:
  Identifiers, Records

    public abstract class SearchResults

extends java.lang.Object

this class provides iterator access to the results of a registry search

Method Summary
`int` | `getRetrievedCount()` return the total number of records downloaded from the registry so far.
`boolean` | `hasNext()` return true if next() will return a result
`boolean` | `hasPrevious()` return true if previous() will return a result
`boolean` | `isCountFinal()` return whether all of the matched records have be retrieved from the registry.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Method Detail

### getRetrievedCount

    public int getRetrievedCount()

  return the total number of records downloaded from the registry so far. This is not the same as the number of records iterated through. If isCountFinal() is true, then the count returned by this method is the total number the registry found.

### isCountFinal

    public boolean isCountFinal()

  return whether all of the matched records have be retrieved from the registry. If true, then getRetrievedCount() returns the total number of records matched by the query.

### hasNext

    public boolean hasNext()

  return true if next() will return a result

### hasPrevious

    public boolean hasPrevious()

  return true if previous() will return a result

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD