MCPcopy Create free account
hub / github.com/apache/solr / O

Method O

solr/solrj/src/test/org/noggit/TestJSONWriter.java:46–52  ·  view source on GitHub ↗
(Object... lst)

Source from the content-addressed store, hash-verified

44 }
45
46 public static Map<String, Object> O(Object... lst) {
47 LinkedHashMap<String, Object> map = new LinkedHashMap<>();
48 for (int i = 0; i < lst.length; i += 2) {
49 map.put(lst[i].toString(), lst[i + 1]);
50 }
51 return map;
52 }
53
54 // NOTE: the specifics of indentation may change in the future!
55 @Test

Callers 1

testWriterMethod · 0.95

Calls 2

putMethod · 0.65
toStringMethod · 0.65

Tested by

no test coverage detected