code: public List<String> getGroups(String... groups) {
          synchronized (Hdf5Archive.LOCK_OBJECT) {
              if (groups.length == 0)
                  return getObjects(this.file, H5O_TYPE_GROUP);
              Group[] groupArray = openGroups(groups);
              List<String> ls = getObjects(groupArray[groupArray.length - 1], H5O_TYPE_GROUP);
              closeGroups(groupArray);
              return ls;
          }
      }
docs: Get list of groups from group path.
  
  @param groups Array of zero or more ancestor groups from root to parent.
  @return List of HDF5 groups