MCPcopy Create free account
hub / github.com/cping/LGame / formatVars

Method formatVars

Java/Loon-Neo/src/loon/utils/StringUtils.java:99–112  ·  view source on GitHub ↗

过滤指定字符串中的键值对为ObjectMap中数据 @sample ObjectMap test = new ObjectMap (); test.put("key1", "abc"); test.put("key2", "efg"); System.out.println(StringUtils.formatVars("key1 is ${key1},key2 is ${key2}", test)); @param @param @param format @pa

(String format, String flag, ObjectMap<K, V> params)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

updateTextMethod · 0.95

Calls 7

replaceMethod · 0.95
toStrMethod · 0.95
keysMethod · 0.65
iteratorMethod · 0.65
hasNextMethod · 0.65
nextMethod · 0.65
getMethod · 0.65

Tested by

no test coverage detected