MCPcopy Create free account
hub / github.com/annmuor/jnode / asIntList

Method asIntList

jnode-core/src/jnode/report/ReportBuilder.java:138–149  ·  view source on GitHub ↗
(String data, String delims)

Source from the content-addressed store, hash-verified

136 }
137
138 static List<Integer> asIntList(String data, String delims) {
139 List<String> temp = asStrList(data, delims);
140 if (temp == null) {
141 return null;
142 }
143
144 List<Integer> result = new ArrayList<>();
145 for (String item : temp) {
146 result.add(Integer.valueOf(item));
147 }
148 return result;
149 }
150
151 static void newLine(StringBuilder sb) {
152 sb.append('\n');

Callers 2

testArrayIntMethod · 0.95
setColLengthMethod · 0.95

Calls 2

asStrListMethod · 0.95
addMethod · 0.45

Tested by 1

testArrayIntMethod · 0.76