docs: @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;
    }