MCPcopy Create free account
hub / github.com/ddf-project/DDF / setColumnNames

Method setColumnNames

core/src/main/java/io/ddf/content/Schema.java:156–163  ·  view source on GitHub ↗
(List<String> names)

Source from the content-addressed store, hash-verified

154 }
155
156 public void setColumnNames(List<String> names) throws DDFException {
157 validateColumnNames(names);
158 int length = names.size() < mColumns.size() ? names.size() : mColumns
159 .size();
160 for (int i = 0; i < length; i++) {
161 mColumns.get(i).setName(names.get(i));
162 }
163 }
164
165 public Column getColumn(int i) throws DDFException {
166 if (mColumns.isEmpty()) {

Calls 4

validateColumnNamesMethod · 0.95
sizeMethod · 0.80
setNameMethod · 0.65
getMethod · 0.65

Tested by 1