New features
Add wait multi-processes interface
Add uuid generator
Add hash library module
Add __tb_deprecated__ keyword and option
Changes
Move some utils interfaces to the hash module
Rewrite random generator
Bugs fixed
Fix stdout compatibility issue for vs2015
Fix process arguments length limit继续阅读 »
冒泡排序
原理主要是倒序比较
代码如下:
java
class Untitled {
public static void sortMaxMin(int array[]){
int i,j;
int len = array.length;
int temp;
//Boolean flag = true;
for (i = 0;ii;j--) {
if (array[j-1]>array[j]) {
temp = array[j];
继续阅读 »