1 2 // DO NOT EDIT THIS FILE - it is machine generated -*- c++ -*- 3 4 #ifndef __java_lang_Short__ 5 #define __java_lang_Short__ 6 7 #pragma interface 8 9 #include <java/lang/Number.h> 10 #include <gcj/array.h> 11 12 13 class java::lang::Short : public ::java::lang::Number 14 { 15 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 Short$compareTo(::java::lang::Short *); 36 static jint compare(jshort, jshort); 37 static jshort reverseBytes(jshort); 38 jint compareTo(::java::lang::Object *); 39 private: 40 static const jlong serialVersionUID = 7515723908773894738LL; 41 public: 42 static const jshort MIN_VALUE = -32768; 43 static const jshort MAX_VALUE = 32767; 44 static ::java::lang::Class * TYPE; 45 static const jint SIZE = 16; 46 private: 47 static const jint MIN_CACHE = -128; 48 static const jint MAX_CACHE = 127; 49 static JArray< ::java::lang::Short * > * shortCache; 50 jshort __attribute__((aligned(__alignof__( ::java::lang::Number)))) value; 51 public: 52 static ::java::lang::Class class$; 53 }; 54 55 #endif // __java_lang_Short__ 56