[brailleblaster] push by brandon....@xxxxxxxxx - Changed semantics table from hash to tree map on 2013-09-19 14:59 GMT

  • From: brailleblaster@xxxxxxxxxxxxxx
  • To: brailleblaster@xxxxxxxxxxxxx
  • Date: Thu, 19 Sep 2013 14:59:57 +0000

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){

Other related posts:

  • » [brailleblaster] push by brandon....@xxxxxxxxx - Changed semantics table from hash to tree map on 2013-09-19 14:59 GMT - brailleblaster