Why Gemfury? Push, build, and install  RubyGems npm packages Python packages Maven artifacts PHP packages Go Modules Debian packages RPM packages NuGet packages

Repository URL to install this package:

Details    
lucene / include / org / apache / lucene / codecs / bloom / HashFunction.h
Size: Mime:
#ifndef org_apache_lucene_codecs_bloom_HashFunction_H
#define org_apache_lucene_codecs_bloom_HashFunction_H

#include "java/lang/Object.h"

namespace java {
  namespace lang {
    class Class;
  }
}
namespace org {
  namespace apache {
    namespace lucene {
      namespace util {
        class BytesRef;
      }
    }
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace codecs {
        namespace bloom {

          class HashFunction : public ::java::lang::Object {
           public:
            enum {
              mid_init$_d7775b228e076e62,
              mid_hash_1c4ca52d1ca2a202,
              max_mid
            };

            static ::java::lang::Class *class$;
            static jmethodID *mids$;
            static bool live$;
            static jclass initializeClass(bool);

            explicit HashFunction(jobject obj) : ::java::lang::Object(obj) {
              if (obj != NULL && mids$ == NULL)
                env->getClass(initializeClass);
            }
            HashFunction(const HashFunction& obj) : ::java::lang::Object(obj) {}

            HashFunction();

            jint hash(const ::org::apache::lucene::util::BytesRef &) const;
          };
        }
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace codecs {
        namespace bloom {
          extern PyType_Def PY_TYPE_DEF(HashFunction);
          extern PyTypeObject *PY_TYPE(HashFunction);

          class t_HashFunction {
          public:
            PyObject_HEAD
            HashFunction object;
            static PyObject *wrap_Object(const HashFunction&);
            static PyObject *wrap_jobject(const jobject&);
            static void install(PyObject *module);
            static void initialize(PyObject *module);
          };
        }
      }
    }
  }
}

#endif