(List<Integer> colLength)
| 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)); |