private boolean setUpdated ( Date lastUpdateTime ) { // Because there is no gaurantee of order of delivery, // we want to ensure that we do not set the updated time if it was // earlier than the current updated time if ( updated == null || updated . compareTo ( lastUpdateTime ) < 0 ) { updated = lastUpdateTime ; return true ; } return false ; }
return true false otherwise .