Repository URL to install this package:
|
Version:
7.7.1 ▾
|
#ifndef org_apache_lucene_util_WeakIdentityMap_H
#define org_apache_lucene_util_WeakIdentityMap_H
#include "java/lang/Object.h"
namespace java {
namespace util {
class Iterator;
}
namespace lang {
class Class;
}
}
namespace org {
namespace apache {
namespace lucene {
namespace util {
class WeakIdentityMap;
}
}
}
}
template<class T> class JArray;
namespace org {
namespace apache {
namespace lucene {
namespace util {
class WeakIdentityMap : public ::java::lang::Object {
public:
enum {
mid_clear_d7775b228e076e62,
mid_containsKey_ac708f0101821708,
mid_get_ef109a1ad0f85d80,
mid_isEmpty_c20c2fcd6b89d9a9,
mid_keyIterator_1b087b0cc2db38d4,
mid_newConcurrentHashMap_c3504403a7638e5b,
mid_newConcurrentHashMap_bdcf7ff6ba080e07,
mid_newHashMap_c3504403a7638e5b,
mid_newHashMap_bdcf7ff6ba080e07,
mid_put_a03e2e23422fdf49,
mid_reap_d7775b228e076e62,
mid_remove_ef109a1ad0f85d80,
mid_size_9135e6328d9d7dfd,
mid_valueIterator_1b087b0cc2db38d4,
max_mid
};
static ::java::lang::Class *class$;
static jmethodID *mids$;
static bool live$;
static jclass initializeClass(bool);
explicit WeakIdentityMap(jobject obj) : ::java::lang::Object(obj) {
if (obj != NULL && mids$ == NULL)
env->getClass(initializeClass);
}
WeakIdentityMap(const WeakIdentityMap& obj) : ::java::lang::Object(obj) {}
void clear() const;
jboolean containsKey(const ::java::lang::Object &) const;
::java::lang::Object get(const ::java::lang::Object &) const;
jboolean isEmpty() const;
::java::util::Iterator keyIterator() const;
static WeakIdentityMap newConcurrentHashMap();
static WeakIdentityMap newConcurrentHashMap(jboolean);
static WeakIdentityMap newHashMap();
static WeakIdentityMap newHashMap(jboolean);
::java::lang::Object put(const ::java::lang::Object &, const ::java::lang::Object &) const;
void reap() const;
::java::lang::Object remove(const ::java::lang::Object &) const;
jint size() const;
::java::util::Iterator valueIterator() const;
};
}
}
}
}
#include <Python.h>
namespace org {
namespace apache {
namespace lucene {
namespace util {
extern PyType_Def PY_TYPE_DEF(WeakIdentityMap);
extern PyTypeObject *PY_TYPE(WeakIdentityMap);
class t_WeakIdentityMap {
public:
PyObject_HEAD
WeakIdentityMap object;
PyTypeObject *parameters[2];
static PyTypeObject **parameters_(t_WeakIdentityMap *self)
{
return (PyTypeObject **) &(self->parameters);
}
static PyObject *wrap_Object(const WeakIdentityMap&);
static PyObject *wrap_jobject(const jobject&);
static PyObject *wrap_Object(const WeakIdentityMap&, PyTypeObject *, PyTypeObject *);
static PyObject *wrap_jobject(const jobject&, PyTypeObject *, PyTypeObject *);
static void install(PyObject *module);
static void initialize(PyObject *module);
};
}
}
}
}
#endif