MCPcopy Create free account
hub / github.com/diffplug/matfilerw / matches

Method matches

src/main/java/com/jmatio/io/MatFileFilter.java:73–78  ·  view source on GitHub ↗

Test if given name matches the filter. @param name - array name to be tested @return - true if array (matrix) of this name should be processed

(String name)

Source from the content-addressed store, hash-verified

71 * @return - <code>true</code> if array (matrix) of this name should be processed
72 */
73 public boolean matches(String name) {
74 if (filter.size() == 0) {
75 return true;
76 }
77 return filter.contains(name);
78 }
79}

Callers 4

testMatFileFilterMethod · 0.95
readMatrixMethod · 0.45
readHeaderMethod · 0.45
MLArrayQueryMethod · 0.45

Calls 2

containsMethod · 0.80
sizeMethod · 0.65

Tested by 1

testMatFileFilterMethod · 0.76