Examples of deleteCharAt()


Examples of com.caucho.util.CharBuffer.deleteCharAt()

        }
      }

      while (buffer.length() > 0
             && ((ch = buffer.getLastChar()) == '\r' || ch == '\n')) {
        buffer.deleteCharAt(buffer.length() - 1);
      }

      String value = buffer.toString();

      if (! "".equals(value))
View Full Code Here

Examples of com.caucho.util.CharBuffer.deleteCharAt()

      unread();

      if (cb.charAt(cb.length() - 1) == ':') {
        unread();
       
        cb.deleteCharAt(cb.length() - 1);
      }

      String name = cb.toString();

      if (name.equals("null"))
View Full Code Here

Examples of com.caucho.util.CharBuffer.deleteCharAt()

        }
      }

      while (buffer.length() > 0
             && ((ch = buffer.getLastChar()) == '\r' || ch == '\n')) {
        buffer.deleteCharAt(buffer.length() - 1);
      }

      String value = buffer.toString();

      if (! "".equals(value))
View Full Code Here

Examples of com.uic.ase.proj.xbn.string.SOBStringBuffer.deleteCharAt()

          //We want to eliminate the final dot, class name
          //and ending semicolon;
          ssbLine.trim();
          ssbLine.delete(0, "import".length());
          ssbLine.trim();
          ssbLine.deleteCharAt(ssbLine.length() - ";".length());
          String sFQImportClass = ssbLine.toString();
          String sFQImportPkg = ssbLine.substring(0, sFQImportClass.lastIndexOf(sPD));

          if(b_crashIfSelfDependent  &&
               s_package.equals(sFQImportPkg))  {
View Full Code Here

Examples of com.uic.ase.proj.xbn.string.StringOrBuffer.deleteCharAt()

          }
          //... and it is escaped.

          //Delete the escape character.
          sob.deleteCharAt(i - 1);
          iCharsDeleted++;
          bPrecededByEscChar = false;

          //i is now pointing to the character *after* the one
          //being escaped.  Decrement i to point to the character
View Full Code Here

Examples of com.uic.ase.proj.xbn.string.StringOrBuffer.deleteCharAt()

      else  {
        //The current character is an escape character...
        if(bPrecededByEscChar  &&  i > 0)  {
          //...and it itself is escaped.
          sob.deleteCharAt(i - 1);
          iCharsDeleted++;
          bPrecededByEscChar = false;

          //i is now pointing to the character *after* the one
          //being escaped.  Decrement i to point to the character
View Full Code Here

Examples of gnu.java.lang.CPStringBuilder.deleteCharAt()

                  conversion);
    boolean isNegative = false;
    if (builder.charAt(0) == '-')
      {
  // Sign handling is done during localization.
  builder.deleteCharAt(0);
  isNegative = true;
      }

    applyLocalization(builder, flags, width, isNegative);
    genericFormat(builder.toString(), flags, width, precision);
View Full Code Here

Examples of java.lang.StringBuffer.deleteCharAt()

         sp = spTmp;        
         return spTmp.toString();
       }
        

       spTmp.deleteCharAt(i);
       i--;
     }

     spTmp.append('\n');
     sp = spTmp;
View Full Code Here

Examples of java.lang.StringBuffer.deleteCharAt()

     {
       isWhiteSpace = false;
       if (!Character.isWhitespace(spTmp.charAt(i)))
         return false;
       isWhiteSpace = true;
       spTmp.deleteCharAt(i);
       len = spTmp.length();
       cntPTR--;
     }

       //System.out.println("1strErikoismerkkijono_rivin_alussa=" + value);
View Full Code Here

Examples of org.apache.beehive.netui.util.internal.InternalStringBuilder.deleteCharAt()

            }
        }

        if ( result.length() > 0 && result.charAt( result.length() - 1 ) == '?' )
        {
            result.deleteCharAt( result.length() - 1 );
        }

        return result.toString();
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.