code: public void removeLRU() {
          int removeCount = (int) Math.max((size() * trimFactor), 1);
  
          while ((removeCount--) > 0) {
              removeEntry(head.next);
          }
      }
docs: Removes the least recently used mapping(s) from this map.
  <p>
  How many mappings are removed from the map, is controlled by the
  trim factor.
  In any case, at least one mapping will be removed.
  
  @see #getTrimFactor()