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