Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_util_CharsRef_H
#define org_apache_lucene_util_CharsRef_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class String;
class Class;
class Comparable;
class Cloneable;
class CharSequence;
}
namespace util {
class Comparator;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace util {
class CharsRef;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace util {
class CharsRef : public ::java::lang::Object {
public:
enum {
mid_init$_d7775b228e076e62,
mid_init$_d1402cb7ea6d4983,
mid_init$_54889bef30791899,
mid_init$_23a8ac0cd7bf153d,
mid_charAt_65c1ce6cf9e2df36,
mid_charsEquals_88a2432809e00bbb,
mid_clone_4cf5fef0becce8c6,
mid_compareTo_199c5ed7ce3c3efb,
mid_deepCopyOf_348c1c917e068d71,
mid_equals_ac708f0101821708,
mid_getUTF16SortedAsUTF8Comparator_a6275482e84fdb8d,
mid_hashCode_9135e6328d9d7dfd,
mid_isValid_c20c2fcd6b89d9a9,
mid_length_9135e6328d9d7dfd,
mid_subSequence_45065d1e6f4cff90,
mid_toString_a6d454b6117bc1ba,
max_mid
};
enum {
fid_chars,
fid_length,
fid_offset,
max_fid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static jfieldID *fids$;
static bool live$;
static jclass initializeClass(bool);
explicit CharsRef(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
CharsRef(const CharsRef& obj) : ::java::lang::Object(obj) {}
static JArray< jchar > *EMPTY_CHARS;
JArray< jchar > _get_chars() const;
void _set_chars(const JArray< jchar > &) const;
jint _get_length() const;
void _set_length(jint) const;
jint _get_offset() const;
void _set_offset(jint) const;
CharsRef();
CharsRef(const ::java::lang::String &);
CharsRef(jint);
CharsRef(const JArray< jchar > &, jint, jint);
jchar charAt(jint) const;
jboolean charsEquals(const CharsRef &) const;
CharsRef clone() const;
jint compareTo(const CharsRef &) const;
static CharsRef deepCopyOf(const CharsRef &);
jboolean equals(const ::java::lang::Object &) const;
static ::java::util::Comparator getUTF16SortedAsUTF8Comparator();
jint hashCode() const;
jboolean isValid() const;
jint length() const;
::java::lang::CharSequence subSequence(jint, jint) const;
::java::lang::String toString() const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace util {
extern PyType_Def PY_TYPE_DEF(CharsRef);
extern PyTypeObject *PY_TYPE(CharsRef);
class t_CharsRef {
public:
PyObject_HEAD
CharsRef object;
static PyObject *wrap_Object(const CharsRef&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif