OSDN Git Service

Merged gcj-eclipse branch to trunk.
[pf3gnuchains/gcc-fork.git] / libjava / java / lang / Integer.h
1
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
3
4 #ifndef __java_lang_Integer__
5 #define __java_lang_Integer__
6
7 #pragma interface
8
9 #include <java/lang/Number.h>
10 #include <gcj/array.h>
11
12
13 class java::lang::Integer : public ::java::lang::Number
14 {
15
16 public:
17   Integer(jint);
18   Integer(::java::lang::String *);
19   static ::java::lang::String * toString(jint, jint);
20   static ::java::lang::String * toHexString(jint);
21   static ::java::lang::String * toOctalString(jint);
22   static ::java::lang::String * toBinaryString(jint);
23   static ::java::lang::String * toString(jint);
24   static jint parseInt(::java::lang::String *, jint);
25   static jint parseInt(::java::lang::String *);
26   static ::java::lang::Integer * valueOf(::java::lang::String *, jint);
27   static ::java::lang::Integer * valueOf(::java::lang::String *);
28   static ::java::lang::Integer * valueOf(jint);
29   jbyte byteValue();
30   jshort shortValue();
31   jint intValue();
32   jlong longValue();
33   jfloat floatValue();
34   jdouble doubleValue();
35   ::java::lang::String * toString();
36   jint hashCode();
37   jboolean equals(::java::lang::Object *);
38   static ::java::lang::Integer * getInteger(::java::lang::String *);
39   static ::java::lang::Integer * getInteger(::java::lang::String *, jint);
40   static ::java::lang::Integer * getInteger(::java::lang::String *, ::java::lang::Integer *);
41   static ::java::lang::Integer * decode(::java::lang::String *);
42   jint target$compareTo(::java::lang::Integer *);
43   static jint bitCount(jint);
44   static jint rotateLeft(jint, jint);
45   static jint rotateRight(jint, jint);
46   static jint highestOneBit(jint);
47   static jint numberOfLeadingZeros(jint);
48   static jint lowestOneBit(jint);
49   static jint numberOfTrailingZeros(jint);
50   static jint signum(jint);
51   static jint reverseBytes(jint);
52   static jint reverse(jint);
53 public: // actually package-private
54   static ::java::lang::String * toUnsignedString(jint, jint);
55   static jint parseInt(::java::lang::String *, jint, jboolean);
56 public:
57   jint compareTo(::java::lang::Object *);
58 private:
59   static const jlong serialVersionUID = 1360826667806852920LL;
60 public:
61   static const jint MIN_VALUE = -2147483647 - 1;
62   static const jint MAX_VALUE = 2147483647;
63   static ::java::lang::Class * TYPE;
64   static const jint SIZE = 32;
65 private:
66   static const jint MIN_CACHE = -128;
67   static const jint MAX_CACHE = 127;
68   static JArray< ::java::lang::Integer * > * intCache;
69   jint __attribute__((aligned(__alignof__( ::java::lang::Number)))) value;
70 public:
71   static ::java::lang::Class class$;
72 };
73
74 #endif // __java_lang_Integer__