/** * Perform a string comparison on the prefixed fullName of the source document. * * @param event event to compare with * @return the result of the string comparison */ @Override public int compareTo(WatchListEvent event) { return getDocumentReference().compareTo(event.getDocumentReference()); }