public interface Source
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
two sources are equal if and only if their source IDs are equal.
|
String |
getId()
gets the unique ID of this source.
|
long |
getLastModified()
gets the date and time the source was last recognized to have been modified,
in milliseconds since 1970.
|
int |
hashCode()
returns the hash code of the source ID.
|
String |
toString()
returns a string suitable for logging.
|
String getId()
long getLastModified()
You should not rely on this number to increase monotonically or even to represent an actual date and time, but instead consider the source changed each time this method returns a different value.
boolean equals(Object obj)
int hashCode()