* Used to negate all values of a list of boolean values column.
*/
private void negateColumnListBooleanType(AttributeTable table, AttributeColumn column) {
final int columnIndex = column.getIndex();
Object value;
BooleanList list;
Boolean[] newValues;
for (Attributes row : getTableAttributeRows(table)) {
value = row.getValue(columnIndex);
if (value != null) {
list = (BooleanList) value;
newValues = new Boolean[list.size()];
for (int i = 0; i < list.size(); i++) {
newValues[i] = !list.getItem(i);
}
row.setValue(columnIndex, new BooleanList(newValues));
}
}
}