http://www.javaeye.com/topic/628908
http://www.javaeye.com/topic/628908

解决方案 »

  1.   

    挤地铁坐公交,虽然很挤,努力找个稍微空的角落,拿着书随时可以翻翻-------------
    是不是太那个了啊?那么挤的地方捧本 thinking in java?????
      

  2.   


    买个ipad看电子版应该是一个解决方案
      

  3.   

    for (int i = 0 , m =0 , n = 0 , k = 0; i < byteBuff.length - boundaryCharArray.length; i++) {
    for (int j = 0; j < boundaryCharArray.length; j++) {
    if(byteBuff[i+j] != boundaryCharArray[j]){
    break;
    }else{
    if(j == boundaryCharArray.length - 1){
    m++;
    boundaryIndexArray.add(i);
    }
    continue;
    }
    }
    if(m == k+2){
    for (int j = 0; j < fileNameCharArray.length; j++) {
    if(byteBuff[i+j] != fileNameCharArray[j]){
    break;
    }else{
    if(j == fileNameCharArray.length - 1){
    k++;
    int a = i + fileNameCharArray.length;
    ArrayList<Byte> fileNameArray = new ArrayList<Byte>();
    byte[] quotationCharArray = quotation.getBytes();
    byte quotationByte = quotationCharArray[0];
    for (int b = a; b < a + 200; b++) {
    if(byteBuff[b] != quotationByte){
    fileNameArray.add(byteBuff[b]);
    }else{
    break;
    }
    }
    byte[] fileNameBytes = new byte[fileNameArray.size()];
    for (int d = 0; d < fileNameArray.size(); d++) {
    fileNameBytes[d] = fileNameArray.get(d);
    }
    //  fileName = fileNameArray.toString();
    String fileName = new String(fileNameBytes);
    fileNameStringArray.add(fileName);
    }
    continue;
    }
    }
    }
    if(m == n+1){
    for (int j = 0; j < exchangeRowCharArray.length; j++) {
    if(byteBuff[i+j] != exchangeRowCharArray[j]){
    break;
    }else{
    if(j == exchangeRowCharArray.length - 1){
    n++;
    exchangeRowIndexArray.add(i);
    }
    continue;
    }
    }
    }
    }
      

  4.   

    for(var i = 0 , str = "" ; i < memberValues.length ; i ++){
    str += memberValues[i];
    }
    alert(str);for(var i = 0, n = 0; i < memberValues.length ; i++){
    if(memberValues[i] == 0){
    n += 1;
    }
    if(memberValues[i] == 1){
    if(n > 0){
    memberValues[i-n] = memberValues[i];
    memberValues[i] = 0;
    }
    }
    }
      

  5.   

    http://www.javaeye.com/topic/372233
    http://student.csdn.net/space.php?uid=259146
    http://www.javaeye.com/topic/537563
    http://www.javaeye.com/topic/628908http://msdn.microsoft.com/en-us/fsharp/cc835246.aspx
    http://www.cnblogs.com/lvxuwen/default.html?page=1