System.out.println("***** " + title + " *****"); for (int i=0; i<v.size(); i++) System.out.println("v["+i+"]="+v.elementAt(i));
v = new Vector(); for (int i=0; i<rawStrings.length; i++) v.addElement(rawStrings[i]);
Simple main program to test the sorting //+ System.out.println("StrSort Demo Ignoring Case"); StrSortCase s = new StrSortCase(); s.load(); s.dump("Before"); Collections.sort(s.v, String.CASE_INSENSITIVE_ORDER); s.dump("After");
//+ System.out.println("StrSort Demo Ignoring Case"); StrSortCase s = new StrSortCase(); s.load(); s.dump("Before"); Collections.sort(s.v, String.CASE_INSENSITIVE_ORDER); s.dump("After");