class JTableUtilities {

    public static int[] convertRowIndicesToModel(JTable table, int[] viewRows)
    {
        int[] modelRows = new int[viewRows.length];
        for (int index = 0; index < viewRows.length; ++index)
        {
            modelRows[index] = table.convertRowIndexToModel(viewRows[index]);
        }
        return modelRows;
    }

    private  JTableUtilities();

}