Revision: ee608f5bcd2e Branch: default Author: Brandon Roller <brandon.r.roller@xxxxxxxxx> Date: Thu Sep 19 14:59:02 2013 UTC Log: Changed semantics table from hash to tree map http://code.google.com/p/brailleblaster/source/detail?r=ee608f5bcd2e Modified: /src/main/org/brailleblaster/document/BBSemanticsTable.java =======================================--- /src/main/org/brailleblaster/document/BBSemanticsTable.java Fri Sep 13 17:44:22 2013 UTC +++ /src/main/org/brailleblaster/document/BBSemanticsTable.java Thu Sep 19 14:59:02 2013 UTC
@@ -7,6 +7,7 @@ import java.util.HashMap; import java.util.Map.Entry; import java.util.Set; +import java.util.TreeMap; import java.util.logging.Level; import java.util.logging.Logger; @@ -42,11 +43,11 @@ public class Styles{ String elementName; - HashMap<StylesType, String> map; + TreeMap<StylesType, String> map; public Styles(String elementName){ this.elementName = elementName; - this.map = new HashMap<StylesType, String>(); + this.map = new TreeMap<StylesType, String>(); } public void put(StylesType key, String value){