com.sony.csl.j2me.locationapitools
Class LocationCache.CacheEntry

java.lang.Object
  extended by com.sony.csl.j2me.locationapitools.LocationCache.CacheEntry
Enclosing class:
LocationCache

private class LocationCache.CacheEntry
extends java.lang.Object


Field Summary
private  Location location
           
private  long timeStamp
           
 
Constructor Summary
LocationCache.CacheEntry(Location location)
           
 
Method Summary
 Location getLocation()
           
 long getTimeStamp()
           
 boolean isNewerThan(long timeStamp)
           
 boolean isNewerThanOrEquallyOldAs(long timeStamp)
           
 boolean isOlderThan(long timeStamp)
           
 boolean isOlderThanOrEquallyOldAs(long timeStamp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

timeStamp

private long timeStamp

location

private Location location
Constructor Detail

LocationCache.CacheEntry

public LocationCache.CacheEntry(Location location)
Method Detail

getTimeStamp

public long getTimeStamp()

getLocation

public Location getLocation()

isOlderThan

public boolean isOlderThan(long timeStamp)

isOlderThanOrEquallyOldAs

public boolean isOlderThanOrEquallyOldAs(long timeStamp)

isNewerThan

public boolean isNewerThan(long timeStamp)

isNewerThanOrEquallyOldAs

public boolean isNewerThanOrEquallyOldAs(long timeStamp)