public interface LocationDatabase
OpenLR is a trade mark of TomTom International B.V.
email: software@openlr.org
| Modifier and Type | Method and Description |
|---|---|
void |
clear()
Clear the database cache.
|
boolean |
containsLR(RawLocationReference locRef)
Checks if the location reference is already stored in the database.
|
int |
getCacheSize()
Gets the maximum cache size.
|
int |
getCurrentNrEntries()
Gets the current number of entries in the database.
|
Location |
getResult(RawLocationReference locRef)
Gets the location for the location reference.
|
void |
storeResult(RawLocationReference locRef,
Location loc)
Store the location and its location reference
|
int getCacheSize()
int getCurrentNrEntries()
void clear()
boolean containsLR(RawLocationReference locRef)
locRef - the location referenceLocation getResult(RawLocationReference locRef)
locRef - the location referencevoid storeResult(RawLocationReference locRef, Location loc)
loc - the locationlocRef - the location referenceCopyright © 2019 TomTom International B.V.. All rights reserved.