|
|
|
|
|
|
|
|
public <C extends Column<?, T>> C addColumn(C column, int index) { |
|
|
public <C extends Column<?, T>> C addColumn(C column, int index) { |
|
|
if (column == selectionColumn) { |
|
|
if (column == selectionColumn) { |
|
|
throw new IllegalArgumentException( |
|
|
throw new IllegalArgumentException( |
|
|
"The selection column many " + "not be added manually"); |
|
|
|
|
|
|
|
|
"The selection column may not be added manually"); |
|
|
} else if (selectionColumn != null && index == 0) { |
|
|
} else if (selectionColumn != null && index == 0) { |
|
|
throw new IllegalStateException("A column cannot be inserted " |
|
|
throw new IllegalStateException("A column cannot be inserted " |
|
|
+ "before the selection column"); |
|
|
+ "before the selection column"); |