Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_search_spell_NGramDistance_H
#define org_apache_lucene_search_spell_NGramDistance_H
#include "java/lang/Object.h"
namespace java {
namespace lang {
class String;
class Class;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace search {
namespace spell {
class StringDistance;
}
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace search {
namespace spell {
class NGramDistance : public ::java::lang::Object {
public:
enum {
mid_init$_d7775b228e076e62,
mid_init$_54889bef30791899,
mid_equals_ac708f0101821708,
mid_getDistance_7c16e522587b8e5a,
mid_hashCode_9135e6328d9d7dfd,
mid_toString_a6d454b6117bc1ba,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit NGramDistance(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
NGramDistance(const NGramDistance& obj) : ::java::lang::Object(obj) {}
NGramDistance();
NGramDistance(jint);
jboolean equals(const ::java::lang::Object &) const;
jfloat getDistance(const ::java::lang::String &, const ::java::lang::String &) const;
jint hashCode() const;
::java::lang::String toString() const;
};
}
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace search {
namespace spell {
extern PyType_Def PY_TYPE_DEF(NGramDistance);
extern PyTypeObject *PY_TYPE(NGramDistance);
class t_NGramDistance {
public:
PyObject_HEAD
NGramDistance object;
static PyObject *wrap_Object(const NGramDistance&);
static PyObject *wrap_jobject(const jobject&);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
}
#endif