Returns a new unique string
()
| 759 | * Returns a new unique string |
| 760 | */ |
| 761 | public synchronized static String genSym() { |
| 762 | StringBuffer buff = |
| 763 | new StringBuffer(Integer.toHexString(lastSym++).toUpperCase()); |
| 764 | for(int i = buff.length(); i <= 4; i++) |
| 765 | buff.insert(0, '0'); |
| 766 | return buff.toString(); |
| 767 | } // genSym |
| 768 | |
| 769 | /** GATE development environment configuration data (stored in gate.xml). */ |
| 770 | private static OptionsMap userConfig = new OptionsMap(); |