Method length()
Return type: int
Member of: java.lang.StringBuffer
[api documentation ] [ main menu]

Examples of how the element is used (one line per example):
[add your own example]

1 while (buf.length()
2 while (sb.length() < toLength) sb.append(c);
3 while (b.length() < (p - v.length()))
4 println( "Created text representation of: " + stringWriter.getBuffer().length() + " characters" );
5 myIndent.setLength(myIndent.length() - 2);
6 myIndent.setLength(myIndent.length() - 1);
7 return out.lastIndexOf("\n") == formattedXml.length() - 1 //$NON-NLS-1$
8 return blob.length();
9 while (d.length() < len)
10 int len1 = buf.length();
11 if(token.length() != 0)
12 if (fireOnlyIfMixed && buffer.length() == 0) return; //skip it
13 typedBuffer.setLength(typedBuffer.length() - 1);
14 int len = buf.length();
15 content.delete(0, content.length() + 1);
16 while (paddedString.length() < paddings)
17 super.setInput(buf, buf.length());
18 for (int i=1; i
19 if (text.length()!=oldSize){ar.setText(text.toString());} //update text only if new error messages
20 if (sb.length() != 0) {
Java and J2SE are trademarks or registered trademarks of Sun Microsystems, Inc. in the United States and other Countries.