code: public Set<Entry<K, V>> entrySet() {
          TreeSet<Entry<K,V>> set = new TreeSet<Entry<K,V>>();
          
          synchronized( this ) {
              for(K key : keySet() ) {
                  if( containsKey(key) ) {
                      get(key);
                      set.add(getEntry(key));
                  }
              }
              return set;
          }
      }
docs: Returns a set of entries in this cache.
  @return cache entries