code: public List<Entry> getUpdatedEntriesAndRefresh() {
          List<Entry> ret = new ArrayList<>();
          for (Entry entry : entries) {
              if (entry.isUpdated()) {
                  ret.add(entry);
              }
          }
          return ret;
      }
docs: Get the list of all updated entries i.e. all entries which have modification date
  which is newer than the last time check. ATTENTION: As a side effect this method also
  updates the timestamp of entries.
  
  @return list of all entries which has been updated since the last call to this method or an empty list