Package java.lang

Examples of java.lang.StringBuffer.charAt()


            "");
    StringBuffer sbControl = new StringBuffer();
    for (int ic = 0x80; ic <= 0x9f; ic++) {
      sbControl.append((char)ic);
    }
    super.append("control(0)=\n" + sbControl.charAt(0) + "," + Integer.toHexString(sbControl.charAt(0)));
    String control = sbControl.toString();
    char[] cc = new char[sbControl.length()];
    sbControl.getChars(0, cc.length, cc, 0);
    String control2 = new String(cc);
    super.append("control(0)=\n" + control.charAt(0) + "," + Integer.toHexString(control.charAt(0)));
View Full Code Here


            "");
    StringBuffer sbControl = new StringBuffer();
    for (int ic = 0x80; ic <= 0x9f; ic++) {
      sbControl.append((char)ic);
    }
    super.append("control(0)=\n" + sbControl.charAt(0) + "," + Integer.toHexString(sbControl.charAt(0)));
    String control = sbControl.toString();
    char[] cc = new char[sbControl.length()];
    sbControl.getChars(0, cc.length, cc, 0);
    String control2 = new String(cc);
    super.append("control(0)=\n" + control.charAt(0) + "," + Integer.toHexString(control.charAt(0)));
View Full Code Here

     StringBuffer spTmp = new StringBuffer (sp.toString());
       char ch;
      
     while(i > -1)
     {
       ch = spTmp.charAt(i);
       if ( ch != '\n' && !Character.isWhitespace(ch))
       {
         spTmp.append('\n');
         sp = spTmp;        
         return spTmp.toString();
View Full Code Here

     StringBuffer spTmp = new StringBuffer (value);
      
     while(cntPTR > 0 && i < len)
     {
       isWhiteSpace = false;
       if (!Character.isWhitespace(spTmp.charAt(i)))
         return false;
       isWhiteSpace = true;
       spTmp.deleteCharAt(i);
       len = spTmp.length();
       cntPTR--;
View Full Code Here

        files.removeAllElements();
        playListPanelUI.removeAll();
        for (int i = 0, n = names.length; i < n; i++)
        {
      StringBuffer buf = new StringBuffer(dlg.getFilterPath());
      if (buf.charAt(buf.length() - 1) != File.separatorChar)
      {
          buf.append(File.separatorChar);
      }
      buf.append(names[i]);
      files.add(buf.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.