CACAO
Public Member Functions | Private Attributes
LazyStringCopy Struct Reference

Used to lazily copy a java.lang.String into the intern table. More...

Public Member Functions

 LazyStringCopy (JavaString str)
 
size_t hash () const
 
size_t size () const
 
const uint16_t * begin () const
 
const uint16_t * end () const
 
JavaString get_string () const
 

Private Attributes

const size_t _hash
 
const JavaString _string
 

Detailed Description

Used to lazily copy a java.lang.String into the intern table.

Definition at line 312 of file string.cpp.

Constructor & Destructor Documentation

LazyStringCopy::LazyStringCopy ( JavaString  str)
inline

Definition at line 313 of file string.cpp.

Member Function Documentation

const uint16_t* LazyStringCopy::begin ( ) const
inline

Definition at line 320 of file string.cpp.

const uint16_t* LazyStringCopy::end ( ) const
inline

Definition at line 321 of file string.cpp.

JavaString LazyStringCopy::get_string ( ) const
inline

Definition at line 323 of file string.cpp.

size_t LazyStringCopy::hash ( ) const
inline

Definition at line 317 of file string.cpp.

size_t LazyStringCopy::size ( ) const
inline

Definition at line 318 of file string.cpp.

Field Documentation

const size_t LazyStringCopy::_hash
private

Definition at line 332 of file string.cpp.

const JavaString LazyStringCopy::_string
private

Definition at line 333 of file string.cpp.


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