OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / gnu / java / io / ObjectIdentityMap2Int.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __gnu_java_io_ObjectIdentityMap2Int__
5 #define __gnu_java_io_ObjectIdentityMap2Int__
6
7 #pragma interface
8
9 #include <java/lang/Object.h>
10 #include <gcj/array.h>
11
12 extern "Java"
13 {
14   namespace gnu
15   {
16     namespace java
17     {
18       namespace io
19       {
20           class ObjectIdentityMap2Int;
21       }
22     }
23   }
24 }
25
26 class gnu::java::io::ObjectIdentityMap2Int : public ::java::lang::Object
27 {
28
29 public:
30   ObjectIdentityMap2Int();
31 private:
32   void alloc(jint);
33 public:
34   virtual void put(::java::lang::Object *, jint);
35 private:
36   jint slot(::java::lang::Object *);
37   void rehash();
38 public:
39   virtual jint get(::java::lang::Object *);
40   virtual void clear();
41 private:
42   static JArray< jint > * PRIMES;
43   static ::java::lang::Object * NIL;
44   JArray< ::java::lang::Object * > * __attribute__((aligned(__alignof__( ::java::lang::Object)))) objectTable;
45   JArray< jint > * intTable;
46   jint size;
47   jint cap;
48   jint limit;
49 public:
50   static ::java::lang::Class class$;
51 };
52
53 #endif // __gnu_java_io_ObjectIdentityMap2Int__