Java Data Type Tutorial - StringBuffer Example








Constructor

  1. Java StringBuffer() Constructor
  2. Java StringBuffer(CharSequence seq) Constructor
  3. Java StringBuffer(int capacity) Constructor
  4. Java StringBuffer(String str) Constructor




Method

  1. Java StringBuffer .append( boolean b)
  2. Java StringBuffer .append( char c)
  3. Java StringBuffer .append(char[] str)
  4. Java StringBuffer.append(char[] str, int offset, int len)
  5. Java StringBuffer .append ( CharSequence s)
  6. Java StringBuffer .append ( CharSequence s, int start, int end)
  7. Java StringBuffer.append(double d)
  8. Java StringBuffer.append(float f)
  9. Java StringBuffer.append(int i)
  10. Java StringBuffer.append(long lng)
  11. Java StringBuffer.append(Object obj)
  12. Java StringBuffer.append(String str)
  13. Java StringBuffer .append ( StringBuffer sb)
  14. Java StringBuffer .appendCodePoint ( int codePoint)
  15. Java StringBuffer.capacity()
  16. Java StringBuffer.charAt(int index)
  17. Java StringBuffer.codePointAt(int index)
  18. Java StringBuffer .codePointBefore ( int index)
  19. Java StringBuffer .codePointCount ( int beginIndex, int endIndex)
  20. Java StringBuffer.delete(int start, int end)
  21. Java StringBuffer.deleteCharAt(int index)
  22. Java StringBuffer .ensureCapacity ( int minimumCapacity)
  23. Java StringBuffer.getChars(int srcBegin, int srcEnd, char[] dst, int dstBegin)
  24. Java StringBuffer.indexOf(String str)
  25. Java StringBuffer.indexOf(String str, int fromIndex)
  26. Java StringBuffer.insert(int offset, boolean b)
  27. Java StringBuffer.insert(int offset, char c)
  28. Java StringBuffer.insert(int offset, char[] str)
  29. Java StringBuffer.insert(int index, char[] str, int offset, int len)
  30. Java StringBuffer.insert(int dstOffset, CharSequence s)
  31. Java StringBuffer.insert(int dstOffset, CharSequence s, int start, int end)
  32. Java StringBuffer.insert(int offset, double d)
  33. Java StringBuffer.insert(int offset, float f)
  34. Java StringBuffer.insert(int offset, int i)
  35. Java StringBuffer.insert(int offset, long l)
  36. Java StringBuffer.insert(int offset, Object obj)
  37. Java StringBuffer.insert(int offset, String str)
  38. Java StringBuffer .lastIndexOf ( String str)
  39. Java StringBuffer .lastIndexOf ( String str, int fromIndex)
  40. Java StringBuffer.length()
  41. Java StringBuffer .offsetByCodePoints ( int index, int codePointOffset)
  42. Java StringBuffer.replace(int start, int end, String str)
  43. Java StringBuffer.reverse()
  44. Java StringBuffer.setCharAt(int index, char ch)
  45. Java StringBuffer.setLength(int newLength)
  46. Java StringBuffer.subSequence(int start, int end)
  47. Java StringBuffer.substring(int start)
  48. Java StringBuffer.substring(int start, int end)
  49. Java StringBuffer.toString()
  50. Java StringBuffer.trimToSize()