MCPcopy Create free account
hub / github.com/BaseXdb/basex / string

Method string

basex-core/src/main/java/org/basex/util/Enums.java:55–57  ·  view source on GitHub ↗

Helper function for converting enumeration names to strings. @param en enumeration @return lower-case string with '-' replaced by '-';

(final Enum<?> en)

Source from the content-addressed store, hash-verified

53 * @return lower-case string with '-' replaced by '-';
54 */
55 public static String string(final Enum<?> en) {
56 return en.name().toLowerCase(Locale.ENGLISH).replace('_', '-');
57 }
58}

Callers 15

toStringMethod · 0.95
toStringMethod · 0.95
toStringMethod · 0.95
toStringMethod · 0.95
toStringMethod · 0.95
toStringMethod · 0.95
toStringMethod · 0.95
toStringMethod · 0.95
toStringMethod · 0.95
toStringMethod · 0.95
toStringMethod · 0.95
toStringMethod · 0.95

Calls 2

nameMethod · 0.65
replaceMethod · 0.45

Tested by

no test coverage detected