org.opengts.geocoder
Class ReverseGeocodeCache

java.lang.Object
  extended by org.opengts.geocoder.ReverseGeocodeCache

public class ReverseGeocodeCache
extends java.lang.Object


Nested Class Summary
static class ReverseGeocodeCache.RGItem
           
 
Constructor Summary
ReverseGeocodeCache()
           
ReverseGeocodeCache(int maxSize, long maxAge)
           
 
Method Summary
 boolean addReverseGeocode(GeoPoint gp, ReverseGeocode rg)
           
 long getMaxAgeSec()
           
 int getMaxSize()
           
 ReverseGeocode getReverseGeocode(GeoPoint gp)
           
static void main(java.lang.String[] argv)
           
 void setMaxAgeSec(long maxAge)
           
 void setMaxSize(int maxSize)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ReverseGeocodeCache

public ReverseGeocodeCache()

ReverseGeocodeCache

public ReverseGeocodeCache(int maxSize,
                           long maxAge)
Method Detail

setMaxSize

public void setMaxSize(int maxSize)

getMaxSize

public int getMaxSize()

setMaxAgeSec

public void setMaxAgeSec(long maxAge)

getMaxAgeSec

public long getMaxAgeSec()

getReverseGeocode

public ReverseGeocode getReverseGeocode(GeoPoint gp)

addReverseGeocode

public boolean addReverseGeocode(GeoPoint gp,
                                 ReverseGeocode rg)

main

public static void main(java.lang.String[] argv)