19 package org.sleuthkit.autopsy.contentviewers.osaccount;
21 import java.util.ArrayList;
22 import java.util.Iterator;
23 import java.util.List;
29 final class SectionData
implements Iterable<SectionData.RowData<String, String>> {
31 private final String title;
32 private final List<RowData<String, String>> data;
39 SectionData(String title) {
41 this.data =
new ArrayList<>();
59 void addData(String properytName, String propertyValue) {
60 data.add(
new RowData<>(properytName, propertyValue));
64 public Iterator<RowData<String, String>> iterator() {
65 return data.iterator();
74 static class RowData<K, V> {
77 private final V value;
85 RowData(K key, V value) {