beecrypt::lang::Object Class Reference
[C++ classes mimicking java.lang]

#include <Object.h>

Inherited by beecrypt::crypto::Cipher, beecrypt::crypto::CipherSpi, beecrypt::crypto::KeyAgreement, beecrypt::crypto::KeyAgreementSpi, beecrypt::crypto::Mac, beecrypt::crypto::MacSpi, beecrypt::crypto::SecretKeyFactory, beecrypt::crypto::SecretKeyFactorySpi, beecrypt::crypto::spec::DHPrivateKeySpec, beecrypt::crypto::spec::DHPublicKeySpec, beecrypt::crypto::spec::IvParameterSpec, beecrypt::crypto::spec::PBEKeySpec, beecrypt::io::InputStream, beecrypt::io::OutputStream, beecrypt::io::Writer, beecrypt::lang::Character, beecrypt::lang::Number, beecrypt::lang::String, beecrypt::lang::StringBuffer, beecrypt::lang::StringBuilder, beecrypt::lang::Thread, beecrypt::nio::Buffer, beecrypt::nio::ByteOrder, beecrypt::security::AlgorithmParameterGenerator, beecrypt::security::AlgorithmParameterGeneratorSpi, beecrypt::security::AlgorithmParameters, beecrypt::security::AlgorithmParametersSpi, beecrypt::security::cert::Certificate, beecrypt::security::cert::CertificateFactory, beecrypt::security::cert::CertificateFactorySpi, beecrypt::security::cert::CertPath, beecrypt::security::cert::CertPathValidator, beecrypt::security::cert::CertPathValidatorSpi, beecrypt::security::KeyFactory, beecrypt::security::KeyFactorySpi, beecrypt::security::KeyPair, beecrypt::security::KeyPairGenerator, beecrypt::security::KeyPairGeneratorSpi, beecrypt::security::KeyStore, beecrypt::security::KeyStore::KeyStore::PasswordProtection, beecrypt::security::KeyStore::KeyStore::PrivateKeyEntry, beecrypt::security::KeyStore::KeyStore::SecretKeyEntry, beecrypt::security::KeyStore::KeyStore::TrustedCertificateEntry, beecrypt::security::KeyStoreSpi, beecrypt::security::MessageDigest, beecrypt::security::MessageDigestSpi, beecrypt::security::Provider::Provider::Instantiator, beecrypt::security::SecureRandom, beecrypt::security::SecureRandomSpi, beecrypt::security::Signature, beecrypt::security::SignatureSpi, beecrypt::security::spec::DSAParameterSpec, beecrypt::security::spec::DSAPrivateKeySpec, beecrypt::security::spec::DSAPublicKeySpec, beecrypt::security::spec::EncodedKeySpec, beecrypt::security::spec::RSAKeyGenParameterSpec, beecrypt::security::spec::RSAPrivateKeySpec, beecrypt::security::spec::RSAPublicKeySpec, beecrypt::util::AbstractCollection< E >, beecrypt::util::AbstractList< E >::AbstractList::Iter, beecrypt::util::AbstractList< E >::AbstractList::ListIter, beecrypt::util::AbstractMap< K, V >, beecrypt::util::AbstractMap< K, V >::AbstractMap::KeySet::AbstractMap::KeySet::Iter, beecrypt::util::AbstractMap< K, V >::AbstractMap::Values::AbstractMap::Values::Iter, beecrypt::util::concurrent::locks::ReentrantLock, beecrypt::util::concurrent::locks::ReentrantLock::ReentrantLock::Cond, beecrypt::util::Date, beecrypt::util::Hashtable< K, V >, beecrypt::util::Hashtable< K, V >::Hashtable::Entry, beecrypt::util::Hashtable< K, V >::Hashtable::HashIter, and beecrypt::util::Properties::Properties::Names.

Collaboration diagram for beecrypt::lang::Object:

Collaboration graph
[legend]

List of all members.

Classes

class  FairMonitor
class  Monitor
 This class is used to emulate Java's lock/wait/notify methods. More...
class  NonfairMonitor
 A Non-fair Monitor.
class  Synchronizer
 This class is used to emulate Java's 'synchronized' methods. More...

Public Member Functions

 Object ()
virtual ~Object ()
virtual bool equals (const Object *obj) const throw ()
virtual jint hashCode () const throw ()
void notify () const
void notifyAll () const
virtual String toString () const throw ()
void wait (jlong millis=0) const throw (InterruptedException)

Protected Member Functions

virtual Objectclone () const throw (CloneNotSupportedException)

Friends

class Thread
class beecrypt::util::concurrent::locks::ReentrantLock
void collection_attach (Object *) throw ()
 This function is used inside a collection to indicate that the object is now attached to it.
void collection_detach (Object *) throw ()
 This function is used inside a collection to indicate that the object has been detached to it.
void collection_remove (Object *) throw ()
 This function is used inside a collection to detach the object, and delete it if no longer attached to any other collections.
void collection_rcheck (Object *) throw ()
 This function checks if an object needs to be recycled: the object is deleted if no longer attached to any collection.


Constructor & Destructor Documentation

beecrypt::lang::Object::Object (  ) 

virtual beecrypt::lang::Object::~Object (  )  [virtual]


Member Function Documentation

virtual Object* beecrypt::lang::Object::clone (  )  const throw (CloneNotSupportedException) [protected, virtual]

virtual bool beecrypt::lang::Object::equals ( const Object obj  )  const throw () [virtual]

virtual jint beecrypt::lang::Object::hashCode (  )  const throw () [virtual]

void beecrypt::lang::Object::notify (  )  const

void beecrypt::lang::Object::notifyAll (  )  const

virtual String beecrypt::lang::Object::toString (  )  const throw () [virtual]

void beecrypt::lang::Object::wait ( jlong  millis = 0  )  const throw (InterruptedException)


Friends And Related Function Documentation

Reimplemented in beecrypt::lang::Thread.

void collection_attach ( Object  )  throw () [friend]

This function is used inside a collection to indicate that the object is now attached to it.

Referenced by beecrypt::util::Hashtable< Object, Object >::put().

void collection_detach ( Object  )  throw () [friend]

This function is used inside a collection to indicate that the object has been detached to it.

Referenced by beecrypt::util::Hashtable< Object, Object >::put(), and beecrypt::util::Hashtable< Object, Object >::remove().

void collection_rcheck ( Object  )  throw () [friend]

This function checks if an object needs to be recycled: the object is deleted if no longer attached to any collection.

Referenced by beecrypt::util::Hashtable< Object, Object >::putAll(), and beecrypt::util::AbstractMap< K, V >::putAll().

void collection_remove ( Object  )  throw () [friend]

This function is used inside a collection to detach the object, and delete it if no longer attached to any other collections.

Referenced by beecrypt::util::Hashtable< Object, Object >::clear(), and beecrypt::util::Hashtable< Object, Object >::remove().

friend class Thread [friend]


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

Generated on Fri Jun 19 13:39:42 2009 for BeeCrypt C++ by  doxygen 1.5.8