code: @SuppressWarnings("unchecked")
    @Deprecated
    public final List<E> getEntries() {
      List<E> result = new ArrayList<>(numEntries);
      for(Entry entry : entries) {
        if(entry != null) {
          result.add((E) entry);
        }
      }
      return result;
    }
docs: Returns a list of the entries.
  
  @return a list of the entries
  
  @deprecated Using this method means an extra copy - usually at the cost of
  performance.