
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_nio_CharSequenceBuffer__
#define __java_nio_CharSequenceBuffer__

#pragma interface

#include <java/nio/CharBuffer.h>
extern "Java"
{
  namespace java
  {
    namespace nio
    {
        class ByteOrder;
        class CharBuffer;
        class CharSequenceBuffer;
    }
  }
}

class java::nio::CharSequenceBuffer : public ::java::nio::CharBuffer
{

public: // actually package-private
  CharSequenceBuffer(::java::lang::CharSequence *, jint, jint, jint, jint, jint);
  CharSequenceBuffer(::java::lang::CharSequence *, jint, jint);
public:
  ::java::nio::CharBuffer * asReadOnlyBuffer();
  ::java::nio::CharBuffer * compact();
  ::java::nio::CharBuffer * duplicate();
  jchar get();
  jchar get(jint);
  jboolean isDirect();
  ::java::nio::ByteOrder * order();
  ::java::nio::CharBuffer * put(jchar);
  ::java::nio::CharBuffer * put(jint, jchar);
  ::java::nio::CharBuffer * slice();
  ::java::lang::CharSequence * subSequence(jint, jint);
  jboolean isReadOnly();
private:
  ::java::lang::CharSequence * __attribute__((aligned(__alignof__( ::java::nio::CharBuffer)))) charSequence;
public:
  static ::java::lang::Class class$;
};

#endif // __java_nio_CharSequenceBuffer__
