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