Arrays.sort(myKeyArray);
for( i = 0 ; i < myKeyArray.length; i++ ) {
strKey = (String)myKeyArray[i];
System.out.println( strKey );
}
Arrays.sort(myValueArray);
for( i = 0 ; i < myKeyArray.length; i++ ) {
nValue = (Integer)myValueArray[i];
System.out.println( nValue );
}
|