summaryrefslogtreecommitdiff
path: root/libjava/java/util/BitSet.h
blob: 1470ca0b2c84c77a042e8a3bb42638aa7362d8ee (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
// DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-

#ifndef __java_util_BitSet__
#define __java_util_BitSet__

#pragma interface

#include <java/lang/Object.h>
#include <gcj/array.h>


class java::util::BitSet : public ::java::lang::Object
{

public:
  BitSet();
  BitSet(jint);
  virtual void and$(::java::util::BitSet *);
  virtual void andNot(::java::util::BitSet *);
  virtual jint cardinality();
  virtual void clear();
  virtual void clear(jint);
  virtual void clear(jint, jint);
  virtual ::java::lang::Object * clone();
  virtual jboolean equals(::java::lang::Object *);
  virtual void flip(jint);
  virtual void flip(jint, jint);
  virtual jboolean get(jint);
  virtual ::java::util::BitSet * get(jint, jint);
  virtual jint hashCode();
  virtual jboolean intersects(::java::util::BitSet *);
  virtual jboolean isEmpty();
  virtual jint length();
  virtual jint nextClearBit(jint);
  virtual jint nextSetBit(jint);
  virtual void or$(::java::util::BitSet *);
  virtual void set(jint);
  virtual void set(jint, jboolean);
  virtual void set(jint, jint);
  virtual void set(jint, jint, jboolean);
  virtual jint size();
  virtual ::java::lang::String * toString();
  virtual void xor$(::java::util::BitSet *);
private:
  void ensure(jint);
public: // actually package-private
  virtual jboolean containsAll(::java::util::BitSet *);
private:
  static const jlong serialVersionUID = 7997698588986878753LL;
  static const jint LONG_MASK = 63;
  JArray< jlong > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) bits;
public:
  static ::java::lang::Class class$;
};

#endif // __java_util_BitSet__