Short.h 1.6 KB

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