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

Method setColLength

jnode-core/src/jnode/report/ReportBuilder.java:181–194  ·  view source on GitHub ↗
(List<Integer> colLength)

Source from the content-addressed store, hash-verified

179 }
180
181 public void setColLength(List<Integer> colLength) {
182 if (colLength == null) {
183 this.colLength = null;
184 width = 0;
185 } else {
186 this.colLength = new ArrayList<>(colLength);
187 width = 0;
188 for (Integer aColLength : colLength) {
189 ++width;
190 width += aColLength;
191 }
192 ++width;
193 }
194 }
195
196 public void setColLength(String colLen, String delim) {
197 setColLength(asIntList(colLen, delim));

Callers 7

testAddItemConvertMethod · 0.95
testWidthMethod · 0.95
testHorLineMethod · 0.95
getTextMethod · 0.95
getTextMethod · 0.95
reportMethod · 0.95

Calls 1

asIntListMethod · 0.95

Tested by 4

testAddItemConvertMethod · 0.76
testWidthMethod · 0.76
testHorLineMethod · 0.76