MCPcopy Index your code
hub / github.com/10cks/fofaEX / getColumn

Method getColumn

src/main/java/FofaAPI.java:132–141  ·  view source on GitHub ↗
(List<List<String>> matrix, int index)

Source from the content-addressed store, hash-verified

130 }
131
132 public static List<String> getColumn(List<List<String>> matrix, int index) {
133
134 List<String> getColumn = new ArrayList<>();
135 for (List<String> row : matrix) {
136 if (!row.isEmpty()) { // 确保至少有一个元素
137 getColumn.add(row.get(index)); // 添加第一列的元素
138 }
139 }
140 return getColumn;
141 }
142}

Callers 4

doInBackgroundMethod · 0.95
adjustColumnWidthsMethod · 0.80
searchTableMethod · 0.80
resetSearchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected