CACAO
Public Member Functions | Private Attributes
InternedJavaString Struct Reference

Public Member Functions

 InternedJavaString ()
 Interface to HashTable. More...
 
size_t hash () const
 
size_t size () const
 
bool is_empty () const
 
bool is_occupied () const
 
bool is_deleted () const
 
template<typename T >
void set_occupied (const T &t)
 
template<typename T >
bool operator== (const T &t) const
 
const uint16_t * begin () const
 
const uint16_t * end () const
 
JavaString get_string () const
 used by set_occupied More...
 

Private Attributes

size_t _hash
 
JavaString _str
 

Detailed Description

Definition at line 49 of file string.cpp.

Constructor & Destructor Documentation

InternedJavaString::InternedJavaString ( )
inline

Interface to HashTable.

Definition at line 52 of file string.cpp.

Member Function Documentation

const uint16_t* InternedJavaString::begin ( ) const
inline

Definition at line 74 of file string.cpp.

const uint16_t* InternedJavaString::end ( ) const
inline

Definition at line 75 of file string.cpp.

JavaString InternedJavaString::get_string ( ) const
inline

used by set_occupied

Definition at line 79 of file string.cpp.

size_t InternedJavaString::hash ( ) const
inline

Definition at line 54 of file string.cpp.

bool InternedJavaString::is_deleted ( ) const
inline

Definition at line 59 of file string.cpp.

bool InternedJavaString::is_empty ( ) const
inline

Definition at line 57 of file string.cpp.

bool InternedJavaString::is_occupied ( ) const
inline

Definition at line 58 of file string.cpp.

template<typename T >
bool InternedJavaString::operator== ( const T &  t) const
inline

Definition at line 68 of file string.cpp.

template<typename T >
void InternedJavaString::set_occupied ( const T &  t)
inline

Definition at line 62 of file string.cpp.

size_t InternedJavaString::size ( ) const
inline

Definition at line 55 of file string.cpp.

Field Documentation

size_t InternedJavaString::_hash
private

Definition at line 81 of file string.cpp.

JavaString InternedJavaString::_str
private

Definition at line 82 of file string.cpp.


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