Java Reference
In-Depth Information
To keep the interface to the Quicksort simple, the
Quicksort
class provides the
qsort( )
method, which sets up a call to the actual Quicksort method,
qs( )
. This en-
ables the Quicksort to be called with just the name of the array to be sorted, without
having to provide an initial partition. Since
qs( )
is only used internally, it is specified
as
private
.