In my java program i have created a Vector of user defined type
Vector<PolledData> poll=null;
. The Vector is of type of instance of class PolledData
.
I need to sort the Vector poll, I tried Collections.sort(poll);
,but it didn't work.
Is there a any way to sort the vector poll?