package org.sleuthkit.autopsy.datamodel; import java.util.Map; public class KeyValueThing { Map map; int id; String name; /** * * @param map must iterate it keys and values in a consistent order * (use of LinkedHashMap is recommended) * @param id an arbitrary id representing the type of the thing */ public KeyValueThing(String name, Map map, int id) { this.name = name; this.map = map; this.id = id; } public int getId() { return id; } public Map getMap() { return map; } public String getName() { return name; } }