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

## org.ka2ddo.yaac.osm
Interface OsmSearcherProgressListener

    public interface OsmSearcherProgressListener

This interface defines a means by which a user of OsmSearcher can be informed of the progress of a search, and optionally pre-maturely abort a search.

See Also:
  `OsmSearcher`

Method Summary
`boolean` | `addedNewSearchItem(int index, java.util.List<GTNWrapper> matchList)` Report that another search item has been inserted into the sorted search results list.
`boolean` | `changedSearchTile(java.lang.String searchTile)` Report that the OsmSearcher has advanced to another tile.

Method Detail

### addedNewSearchItem

    boolean addedNewSearchItem(int index,
                               java.util.List<GTNWrapper> matchList)

  Report that another search item has been inserted into the sorted search results list. This is called from the thread that invoked the search() method on the OsmSearcher.

  Parameters:
    `index` - zero-based index where the new match has been inserted.
    `matchList` - the List containing the distance-sorted collection of matches
  Returns:
    boolean true if search is to be aborted, false otherwise.
  See Also:
    `OsmSearcher.search(java.lang.String, double, double, double, java.util.List, org.ka2ddo.yaac.osm.OsmSearcherProgressListener)`

### changedSearchTile

    boolean changedSearchTile(java.lang.String searchTile)

  Report that the OsmSearcher has advanced to another tile.

  Parameters:
    `searchTile` - String name of tile now being searched
  Returns:
    boolean true if search is to be aborted, false otherwise.

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