public <T extends ZFSObject> List<T> descendants(Class<T> type) { ArrayList<T> r = new ArrayList<T>(); r.addAll(children(type)); for (ZFSFileSystem p : roots()) r.addAll(p.descendants(type)); return r; }
public <T extends ZFSObject> List<T> descendants(Class<T> type) { ArrayList<T> r = new ArrayList<T>(); r.addAll(children(type)); for (ZFSFileSystem p : roots()) r.addAll(p.descendants(type)); return r; }