com.veriplace.client
Class LocationUpdateReference

java.lang.Object
  extended by com.veriplace.client.LocationUpdateReference

public class LocationUpdateReference
extends java.lang.Object

Opaque representation of a location update identifier for PollingAPI. This can be used as a key to avoid processing the same location twice: the ID of the same Location can change if it is queried twice, but the corresponding LocationUpdateReference will always be the same.


Constructor Summary
LocationUpdateReference(long id)
           
 
Method Summary
 boolean equals(java.lang.Object other)
           
 long getId()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LocationUpdateReference

public LocationUpdateReference(long id)
Method Detail

getId

public long getId()

equals

public boolean equals(java.lang.Object other)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object