code: public Snapshot getCurrentSnapshot() {
      Map.Entry<Long, Snapshot> entry = snapshots.lastEntry();
      return entry != null ? entry.getValue() : null;
    }
docs: Returns the current snapshot.
  
  @return the current snapshot