void (List<HWDiskStore> list) { info.add("Disks:"); for (HWDiskStore disk : list) { info.add(" " + disk.toString()); List<HWPartition> partitions = disk.getPartitions(); for (HWPartition part : partitions) { info.add(" |-- " + part.toString()); } } }