code: public List<Entry> getEntries() {
          List<Entry> allEntries = new ArrayList<Entry>();
  
          if (root != null) {
              getEntries(root, allEntries);
          }
  
          return allEntries;
      }
docs: Retrieves a list of all entries in the KeePass database.
  
  @return a list of all entries
  @see Entry