20.13
java.lang.StringBuffer
THE PACKAGE JAVA.LANG
20.13 The Class
java.lang.StringBuffer
A string buffer is like a
String
 ( 20.12), but can be modified. At any point in
time it contains some particular sequence of characters, but the length and content
of the sequence can be changed through certain method calls.
public class StringBuffer {
public StringBuffer();
public StringBuffer(int length)
throws NegativeArraySizeException;
public StringBuffer(String str);
public String toString();
public int length();
public void setLength(int newLength)
throws IndexOutOfBoundsException;
public int capacity();
public void ensureCapacity(int minimumCapacity);
public char charAt(int index)
throws IndexOutOfBoundsException;
public void setCharAt(int index, char ch)
throws IndexOutOfBoundsException;
public void getChars(int srcBegin, int srcEnd,
char[] dst, int dstBegin)
throws NullPointerException, IndexOutOfBoundsException;
public StringBuffer append(Object obj);
public StringBuffer append(String str);
public StringBuffer append(char[] str)
throws NullPointerException;
public StringBuffer append(char[] str, int offset, int len)
throws NullPointerException, IndexOutOfBoundsException;
public StringBuffer append(boolean b);
public StringBuffer append(char c);
public StringBuffer append(int i);
public StringBuffer append(long l);
public StringBuffer append(float f);
public StringBuffer append(double d);
public StringBuffer insert(int offset, Object obj)
throws IndexOutOfBoundsException;
public StringBuffer insert(int offset, String str)
throws IndexOutOfBoundsException;
public StringBuffer insert(int offset, char[] str)
throws NullPointerException, IndexOutOfBoundsException;
public StringBuffer insert(int offset, boolean b)
throws IndexOutOfBoundsException;
548






footer




 

 

 

 

 Home | About Us | Network | Services | Support | FAQ | Control Panel | Order Online | Sitemap | Contact

java hosting

 

Our partners: PHP: Hypertext Preprocessor Best Web Hosting Java Web Hosting Inexpensive Web Hosting  Jsp Web Hosting

Cheapest Web Hosting Jsp Hosting Cheap Hosting

Visionwebhosting.net Business web hosting division of Web Design Plus. All rights reserved