public interface LRDatabase
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(Location loc)
Checks if the location is already stored in the database.
|
int |
getCacheSize()
Gets the maximum cache size.
|
int |
getCurrentNrEntries()
Gets the current number of entries in the database.
|
LocationReferenceHolder |
getResult(Location loc)
Gets the location reference for the location
|
void |
storeResult(Location loc,
LocationReferenceHolder locref)
Store the location and its location reference
|
int getCacheSize()
int getCurrentNrEntries()
void clear()
boolean containsLR(Location loc)
loc - the locationLocationReferenceHolder getResult(Location loc)
loc - the locationvoid storeResult(Location loc, LocationReferenceHolder locref)
loc - the locationlocref - the location referenceCopyright © 2019 TomTom International B.V.. All rights reserved.