Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_analysis_compound_hyphenation_TernaryTree_H
#define org_apache_lucene_analysis_compound_hyphenation_TernaryTree_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class String;
class Class;
class Cloneable;
}
namespace io {
class PrintStream;
}
namespace util {
class Enumeration;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace analysis {
namespace compound {
namespace hyphenation {
class TernaryTree;
}
}
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace analysis {
namespace compound {
namespace hyphenation {
class TernaryTree : public ::java::lang::Object {
public:
enum {
mid_balance_d7775b228e076e62,
mid_clone_9f7a144d27df707b,
mid_find_8a3ef3a507fbe37b,
mid_find_e1a2533cf7a403b2,
mid_insert_86517bbf012626cf,
mid_insert_48f59889ca4631e5,
mid_keys_c821cb56ed978cf9,
mid_knows_fe195507b81318e5,
mid_printStats_f752d0543a6f583e,
mid_size_9135e6328d9d7dfd,
mid_strcmp_37e60af8a82fd223,
mid_strcmp_433e1969f3e754db,
mid_strcpy_2fc2e6b932555bf7,
mid_strlen_e7ea462104bea08d,
mid_strlen_e1a2533cf7a403b2,
mid_trimToSize_d7775b228e076e62,
mid_init_d7775b228e076e62,
mid_insertBalanced_4c6624ff939eb193,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit TernaryTree(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
TernaryTree(const TernaryTree& obj) : ::java::lang::Object(obj) {}
void balance() const;
TernaryTree clone() const;
jint find(const ::java::lang::String &) const;
jint find(const JArray< jchar > &, jint) const;
void insert(const ::java::lang::String &, jchar) const;
void insert(const JArray< jchar > &, jint, jchar) const;
::java::util::Enumeration keys() const;
jboolean knows(const ::java::lang::String &) const;
void printStats(const ::java::io::PrintStream &) const;
jint size() const;
static jint strcmp(const ::java::lang::String &, const JArray< jchar > &, jint);
static jint strcmp(const JArray< jchar > &, jint, const JArray< jchar > &, jint);
static void strcpy(const JArray< jchar > &, jint, const JArray< jchar > &, jint);
static jint strlen(const JArray< jchar > &);
static jint strlen(const JArray< jchar > &, jint);
void trimToSize() const;
};
}
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace analysis {
namespace compound {
namespace hyphenation {
extern PyType_Def PY_TYPE_DEF(TernaryTree);
extern PyTypeObject *PY_TYPE(TernaryTree);
class t_TernaryTree {
public:
PyObject_HEAD
TernaryTree object;
static PyObject *wrap_Object(const TernaryTree&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
}
#endif