In listing 12-4, method getPivotPoint does a call to
Code:
doSort(first, end-1)
I feel this call isn't needed at all. If I remove it from the code, the sorting still works.
Also, listing 12-4 contains 3 calls to doSort while the non generic version in listing 12-2 only contains two calls. I think that in listing 12-4, the two recursive calls inside method doSort itself are all you need.