AbstractStringBuffer.h 4.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
  2. #ifndef __java_lang_AbstractStringBuffer__
  3. #define __java_lang_AbstractStringBuffer__
  4. #pragma interface
  5. #include <java/lang/Object.h>
  6. #include <gcj/array.h>
  7. class java::lang::AbstractStringBuffer : public ::java::lang::Object
  8. {
  9. public: // actually package-private
  10. AbstractStringBuffer();
  11. AbstractStringBuffer(jint);
  12. AbstractStringBuffer(::java::lang::String *);
  13. AbstractStringBuffer(::java::lang::CharSequence *);
  14. public:
  15. virtual void ensureCapacity(jint);
  16. virtual void setLength(jint);
  17. virtual jchar charAt(jint);
  18. virtual jint codePointAt(jint);
  19. virtual jint codePointBefore(jint);
  20. virtual void getChars(jint, jint, JArray< jchar > *, jint);
  21. virtual void setCharAt(jint, jchar);
  22. virtual ::java::lang::AbstractStringBuffer * append(::java::lang::Object *);
  23. virtual ::java::lang::AbstractStringBuffer * append(::java::lang::String *);
  24. virtual ::java::lang::AbstractStringBuffer * append(::java::lang::StringBuffer *);
  25. virtual ::java::lang::AbstractStringBuffer * append(JArray< jchar > *);
  26. virtual ::java::lang::AbstractStringBuffer * append(JArray< jchar > *, jint, jint);
  27. virtual ::java::lang::AbstractStringBuffer * append(jboolean);
  28. virtual ::java::lang::AbstractStringBuffer * AbstractStringBuffer$append(jchar);
  29. virtual ::java::lang::AbstractStringBuffer * AbstractStringBuffer$append(::java::lang::CharSequence *);
  30. virtual ::java::lang::AbstractStringBuffer * AbstractStringBuffer$append(::java::lang::CharSequence *, jint, jint);
  31. virtual ::java::lang::AbstractStringBuffer * append(jint);
  32. virtual ::java::lang::AbstractStringBuffer * append(jlong);
  33. virtual ::java::lang::AbstractStringBuffer * append(jfloat);
  34. virtual ::java::lang::AbstractStringBuffer * append(jdouble);
  35. virtual ::java::lang::AbstractStringBuffer * appendCodePoint(jint);
  36. virtual ::java::lang::AbstractStringBuffer * delete$(jint, jint);
  37. virtual ::java::lang::AbstractStringBuffer * deleteCharAt(jint);
  38. virtual ::java::lang::AbstractStringBuffer * replace(jint, jint, ::java::lang::String *);
  39. virtual ::java::lang::AbstractStringBuffer * insert(jint, JArray< jchar > *, jint, jint);
  40. virtual ::java::lang::AbstractStringBuffer * insert(jint, ::java::lang::Object *);
  41. virtual ::java::lang::AbstractStringBuffer * insert(jint, ::java::lang::String *);
  42. virtual ::java::lang::AbstractStringBuffer * insert(jint, ::java::lang::CharSequence *);
  43. virtual ::java::lang::AbstractStringBuffer * insert(jint, ::java::lang::CharSequence *, jint, jint);
  44. virtual ::java::lang::AbstractStringBuffer * insert(jint, JArray< jchar > *);
  45. virtual ::java::lang::AbstractStringBuffer * insert(jint, jboolean);
  46. virtual ::java::lang::AbstractStringBuffer * insert(jint, jchar);
  47. virtual ::java::lang::AbstractStringBuffer * insert(jint, jint);
  48. virtual ::java::lang::AbstractStringBuffer * insert(jint, jlong);
  49. virtual ::java::lang::AbstractStringBuffer * insert(jint, jfloat);
  50. virtual ::java::lang::AbstractStringBuffer * insert(jint, jdouble);
  51. virtual jint indexOf(::java::lang::String *);
  52. virtual jint indexOf(::java::lang::String *, jint);
  53. virtual jint lastIndexOf(::java::lang::String *);
  54. virtual jint lastIndexOf(::java::lang::String *, jint);
  55. virtual ::java::lang::AbstractStringBuffer * reverse();
  56. virtual void trimToSize();
  57. virtual jint codePointCount(jint, jint);
  58. virtual jint offsetByCodePoints(jint, jint);
  59. public: // actually package-private
  60. virtual void ensureCapacity_unsynchronized(jint);
  61. private:
  62. jboolean regionMatches(jint, ::java::lang::String *);
  63. public:
  64. virtual ::java::lang::Appendable * append(::java::lang::CharSequence *, jint, jint);
  65. virtual ::java::lang::Appendable * append(::java::lang::CharSequence *);
  66. virtual ::java::lang::Appendable * append(jchar);
  67. virtual jint length() = 0;
  68. virtual ::java::lang::CharSequence * subSequence(jint, jint) = 0;
  69. public: // actually package-private
  70. jint __attribute__((aligned(__alignof__( ::java::lang::Object)))) count;
  71. JArray< jchar > * value;
  72. private:
  73. static const jint DEFAULT_CAPACITY = 16;
  74. public:
  75. static ::java::lang::Class class$;
  76. };
  77. #endif // __java_lang_AbstractStringBuffer__