CACAO
Public Member Functions | Static Private Attributes
java_lang_Float Class Reference

java/lang/Float More...

Inheritance diagram for java_lang_Float:
java_lang_Object FieldAccess

Public Member Functions

 java_lang_Float (java_handle_t *h)
 
float get_value ()
 
void set_value (float value)
 
- Public Member Functions inherited from java_lang_Object
 java_lang_Object ()
 
 java_lang_Object (java_handle_t *h)
 
virtual ~java_lang_Object ()
 
virtual java_handle_tget_handle () const
 
vftbl_tget_vftbl () const
 
classinfoget_Class () const
 
int32_t get_hashcode () const
 
bool is_null () const
 
bool is_non_null () const
 

Static Private Attributes

static const off_t offset_value = MEMORY_ALIGN(sizeof(java_object_t), sizeof(float))
 

Additional Inherited Members

- Protected Attributes inherited from java_lang_Object
java_handle_t_handle
 
- Private Member Functions inherited from FieldAccess
template<>
java_handle_tget (java_handle_t *h, const off_t offset)
 
template<>
void set (java_handle_t *h, const off_t offset, java_handle_t *value)
 
template<>
java_handle_tget_volatile (java_handle_t *h, const off_t offset)
 
template<>
void set_volatile (java_handle_t *h, const off_t offset, java_handle_t *value)
 
- Static Private Member Functions inherited from FieldAccess
template<class T >
static T get (java_handle_t *h, const off_t offset)
 
template<class T >
static void set (java_handle_t *h, const off_t offset, T value)
 
template<class T >
static T get_volatile (java_handle_t *h, const off_t offset)
 
template<class T >
static void set_volatile (java_handle_t *h, const off_t offset, T value)
 

Detailed Description

java/lang/Float

Object layout:

0. object header

  1. float value;

Definition at line 457 of file javaobjects.hpp.

Constructor & Destructor Documentation

java_lang_Float::java_lang_Float ( java_handle_t h)
inline

Definition at line 464 of file javaobjects.hpp.

Member Function Documentation

float java_lang_Float::get_value ( )
inline

Definition at line 470 of file javaobjects.hpp.

void java_lang_Float::set_value ( float  value)
inline

Definition at line 475 of file javaobjects.hpp.

Field Documentation

const off_t java_lang_Float::offset_value = MEMORY_ALIGN(sizeof(java_object_t), sizeof(float))
staticprivate

Definition at line 461 of file javaobjects.hpp.


The documentation for this class was generated from the following file: