// If string keyed, set the stings as rowlabels.
if (labels != null) {
HashMap<String,Integer> map = new HashMap<String,Integer>();
ValueString vstr = new ValueString();
for (long i = 0; i < labels.length(); i++) {
map.put(labels.atStr(vstr, i).toString(), (int)i);
}
m.setRowLabelBindings(map);
}
return m;
}