Thread
:
MergeSort performance
View Single Post
11-23-2004, 05:55 PM
#
3
(
permalink
)
Belisarius
Java fanboy
Join Date: Aug 2003
Posts: 1,175
Code:
pivot = (Comparable) L.first();
Ever wonder what would happen if L was empty? Bet this is what's causing your exception.
__________________
GitS
Belisarius
View Public Profile
Find More Posts by Belisarius