/** * Inserts a new entry in the Column at position <code>pos</code>. All entries at row numbers * greater than <codE>pos</code> are moved down the column to the next row. * * @param newEntry the newEntry to insert * @param pos the position to insert at */ public void insertRow(Object newEntry, int pos) { switch (getType()) { case ColumnTypes.BYTE_ARRAY: newEntry = SparseByteArrayColumn.toByteArray(newEntry); break; case ColumnTypes.CHAR_ARRAY: newEntry = SparseCharArrayColumn.toCharArray(newEntry); break; case ColumnTypes.STRING: newEntry = SparseStringColumn.toStringObject(newEntry); break; } super.insertRow(newEntry, pos); }