2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_lang_Enum__
5 #define __java_lang_Enum__
9 #include <java/lang/Object.h>
11 class java::lang::Enum
: public ::java::lang::Object
14 public: // actually protected
15 Enum(::java::lang::String
*, jint
);
17 static ::java::lang::Enum
* valueOf(::java::lang::Class
*, ::java::lang::String
*);
18 virtual jboolean
equals(::java::lang::Object
*);
19 virtual jint
hashCode();
20 virtual ::java::lang::String
* toString();
21 virtual jint Enum$
compareTo(::java::lang::Enum
*);
22 public: // actually protected
23 virtual ::java::lang::Object
* clone();
25 virtual ::java::lang::String
* name();
26 virtual jint
ordinal();
27 virtual ::java::lang::Class
* getDeclaringClass();
28 public: // actually protected
29 virtual void finalize();
31 virtual jint
compareTo(::java::lang::Object
*);
33 static const jlong serialVersionUID
= -4300926546619394005LL;
34 public: // actually package-private
35 ::java::lang::String
* __attribute__((aligned(__alignof__( ::java::lang::Object
)))) name__
;
38 static ::java::lang::Class
class$
;
41 #endif // __java_lang_Enum__