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 / util / BitSet.h
Size: Mime:
#ifndef org_apache_lucene_util_BitSet_H
#define org_apache_lucene_util_BitSet_H

#include "java/lang/Object.h"

namespace org {
  namespace apache {
    namespace lucene {
      namespace util {
        class BitSet;
        class Accountable;
        class Bits;
      }
      namespace search {
        class DocIdSetIterator;
      }
    }
  }
}
namespace java {
  namespace lang {
    class Class;
  }
  namespace io {
    class IOException;
  }
}
template<class T> class JArray;

namespace org {
  namespace apache {
    namespace lucene {
      namespace util {

        class BitSet : public ::java::lang::Object {
         public:
          enum {
            mid_init$_d7775b228e076e62,
            mid_approximateCardinality_9135e6328d9d7dfd,
            mid_cardinality_9135e6328d9d7dfd,
            mid_clear_54889bef30791899,
            mid_clear_3addb8559d77fc6e,
            mid_nextSetBit_898568c95ed890a7,
            mid_of_1294eb068c488f6b,
            mid_or_740bbedc8a6e7791,
            mid_prevSetBit_898568c95ed890a7,
            mid_set_54889bef30791899,
            mid_checkUnpositioned_740bbedc8a6e7791,
            max_mid
          };

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

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

          BitSet();

          jint approximateCardinality() const;
          jint cardinality() const;
          void clear(jint) const;
          void clear(jint, jint) const;
          jint nextSetBit(jint) const;
          static BitSet of(const ::org::apache::lucene::search::DocIdSetIterator &, jint);
          void or$(const ::org::apache::lucene::search::DocIdSetIterator &) const;
          jint prevSetBit(jint) const;
          void set(jint) const;
        };
      }
    }
  }
}

#include <Python.h>

namespace org {
  namespace apache {
    namespace lucene {
      namespace util {
        extern PyType_Def PY_TYPE_DEF(BitSet);
        extern PyTypeObject *PY_TYPE(BitSet);

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

#endif