Search in sources :

Example 6 with HashTree

use of net.sourceforge.processdash.util.HashTree in project processdash by dtuma.

the class ImportedDefectManager method getContext.

private static HashTree getContext(HashTree base, String path) {
    String fakeItem = path + "foo";
    base.put(fakeItem, "bar");
    HashTree result = (HashTree) base.get(path);
    base.remove(fakeItem);
    return result;
}
Also used : HashTree(net.sourceforge.processdash.util.HashTree)

Aggregations

HashTree (net.sourceforge.processdash.util.HashTree)6 Iterator (java.util.Iterator)3 ArrayList (java.util.ArrayList)2 LinkedList (java.util.LinkedList)2 List (java.util.List)2 Map (java.util.Map)2 SimpleData (net.sourceforge.processdash.data.SimpleData)2 OutputStreamWriter (java.io.OutputStreamWriter)1 HashMap (java.util.HashMap)1 HashSet (java.util.HashSet)1 Set (java.util.Set)1 TreeMap (java.util.TreeMap)1 TagData (net.sourceforge.processdash.data.TagData)1