method parameters questions
publicstaticvoid sort(Sortable[] items){
for (int i = 1; i < items.length; i++){
Sortable key = items[i];
int position = i;
while (position > 0 && (items[position - 1].compareTo(key) > 0)){
items[position] = items[position - 1];
position--;
}
items[position] = key;
}
}
as you can see that this method takes an array of sortable...my question is how to make it take a vector of sortable?
i am obliged to use vectors so please dont suggest a new data structure or a new collection....
please help
thanks in advance

