MCPcopy Create free account
hub / github.com/GateNLP/gate-core / genSym

Method genSym

src/main/java/gate/Gate.java:761–767  ·  view source on GitHub ↗

Returns a new unique string

()

Source from the content-addressed store, hash-verified

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();

Callers 3

createResourceMethod · 0.95
populateMethod · 0.95
showMethod · 0.95

Calls 3

insertMethod · 0.80
toStringMethod · 0.65
lengthMethod · 0.45

Tested by

no test coverage detected