for(int[] u:y);
public class Test8 {
public static void main(String[] args) {
int[][] y={{213,213,21,32,13,21,312,3},
{12312,3,12,321,3,21,3,21,3},
{2314,23,14,234,3,4,2143,1,234},
{1,23,4,5,6,1,123,34},
{1,23,5,3215,2135,21,5},
{8,5,4,3,2,12,1,1,0,-100}};
int length=0;
for(int[] u:y){
length+=u.length;
}
int[] i=new int[length];
int index=0;
for(int[] u:y){
for(int k:u){
i[index++]=k;
}
}
for(int l=1;l<i.length;l++){
for(int p=i.length-1;p>=l;p--){
if(i[p]<i[p-1]){
int h=i[p];
i[p]=i[p-1];
i[p-1]=h;
}
}
}
index=0;
for(int p=0;p<y.length;p++){
for(int u=0;u<y[p].length;u++){
y[p][u]=i[index++];
}
}
for(int[] u:y){
for(int k:u){
System.out.print(k+",");
}
System.out.println("");
}表示是什么意思?为神马要这样写