Merged gcj-eclipse branch to trunk.
[official-gcc.git] / libjava / java / lang / Short.h
blob42671174cfc42c64d4406a9bab2f8243459b693e
2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*-
4 #ifndef __java_lang_Short__
5 #define __java_lang_Short__
7 #pragma interface
9 #include <java/lang/Number.h>
10 #include <gcj/array.h>
13 class java::lang::Short : public ::java::lang::Number
16 public:
17 Short(jshort);
18 Short(::java::lang::String *);
19 static ::java::lang::String * toString(jshort);
20 static jshort parseShort(::java::lang::String *);
21 static jshort parseShort(::java::lang::String *, jint);
22 static ::java::lang::Short * valueOf(::java::lang::String *, jint);
23 static ::java::lang::Short * valueOf(::java::lang::String *);
24 static ::java::lang::Short * valueOf(jshort);
25 static ::java::lang::Short * decode(::java::lang::String *);
26 jbyte byteValue();
27 jshort shortValue();
28 jint intValue();
29 jlong longValue();
30 jfloat floatValue();
31 jdouble doubleValue();
32 ::java::lang::String * toString();
33 jint hashCode();
34 jboolean equals(::java::lang::Object *);
35 jint target$compareTo(::java::lang::Short *);
36 static jshort reverseBytes(jshort);
37 jint compareTo(::java::lang::Object *);
38 private:
39 static const jlong serialVersionUID = 7515723908773894738LL;
40 public:
41 static const jshort MIN_VALUE = -32768;
42 static const jshort MAX_VALUE = 32767;
43 static ::java::lang::Class * TYPE;
44 static const jint SIZE = 16;
45 private:
46 static const jint MIN_CACHE = -128;
47 static const jint MAX_CACHE = 127;
48 static JArray< ::java::lang::Short * > * shortCache;
49 jshort __attribute__((aligned(__alignof__( ::java::lang::Number)))) value;
50 public:
51 static ::java::lang::Class class$;
54 #endif // __java_lang_Short__