public void insertSort(List list)
{
if(list.size()before)
continue;
for( int j=0;jtemp)
{
list.remove(i);
list.add(j, temp);
break;
}
}
}
}
@Test
public void testInsertSort()
{
List list= new ArrayList();
Random r= new Random();
for( int i=0;i
服务器托管,北京服务器托管,服务器租用 http://www.fwqtg.net
机房租用,北京机房租用,IDC机房托管, http://www.e1idc.net