#include <AbstractCollection.h>
Public Member Functions | |
virtual | ~AbstractCollection () |
virtual bool | add (E *e) |
virtual bool | addAll (const Collection< E > &c) |
virtual void | clear () |
virtual bool | contains (const E *e) const |
virtual bool | containsAll (const Collection< E > &c) const |
virtual bool | equals (const Object *obj) const throw () |
virtual jint | hashCode () const throw () |
virtual bool | isEmpty () const throw () |
virtual Iterator< E > * | iterator ()=0 |
virtual Iterator< E > * | iterator () const =0 |
virtual bool | remove (const E *e) |
virtual bool | removeAll (const Collection< E > &c) |
virtual bool | retainAll (const Collection< E > &c) |
virtual jint | size () const =0 throw () |
virtual array< E * > | toArray () const |
virtual String | toString () const throw () |
Protected Member Functions | |
AbstractCollection () | |
Static Protected Member Functions | |
static bool | equals (const E *e1, const E *e2) |
beecrypt::util::AbstractCollection< E >::AbstractCollection | ( | ) | [inline, protected] |
virtual beecrypt::util::AbstractCollection< E >::~AbstractCollection | ( | ) | [inline, virtual] |
virtual bool beecrypt::util::AbstractCollection< E >::add | ( | E * | e | ) | [inline, virtual] |
virtual bool beecrypt::util::AbstractCollection< E >::addAll | ( | const Collection< E > & | c | ) | [inline, virtual] |
Implements beecrypt::util::Collection< E >.
Reimplemented in beecrypt::util::ArrayList< E >, and beecrypt::util::ArrayList< Provider >.
virtual void beecrypt::util::AbstractCollection< E >::clear | ( | ) | [inline, virtual] |
virtual bool beecrypt::util::AbstractCollection< E >::contains | ( | const E * | e | ) | const [inline, virtual] |
Implements beecrypt::util::Collection< E >.
Reimplemented in beecrypt::util::ArrayList< E >, and beecrypt::util::ArrayList< Provider >.
Referenced by beecrypt::util::AbstractCollection< K >::containsAll().
virtual bool beecrypt::util::AbstractCollection< E >::containsAll | ( | const Collection< E > & | c | ) | const [inline, virtual] |
Implements beecrypt::util::Collection< E >.
virtual bool beecrypt::util::AbstractCollection< E >::equals | ( | const Object * | obj | ) | const throw () [inline, virtual] |
Reimplemented from beecrypt::lang::Object.
Reimplemented in beecrypt::util::AbstractList< E >, beecrypt::util::AbstractList< Provider >, beecrypt::util::AbstractSet< class Map< K, V >::Entry >, and beecrypt::util::AbstractSet< K >.
static bool beecrypt::util::AbstractCollection< E >::equals | ( | const E * | e1, | |
const E * | e2 | |||
) | [inline, static, protected] |
virtual jint beecrypt::util::AbstractCollection< E >::hashCode | ( | ) | const throw () [inline, virtual] |
Reimplemented from beecrypt::lang::Object.
Reimplemented in beecrypt::util::AbstractList< E >, beecrypt::util::AbstractSet< E >, beecrypt::util::AbstractList< E >, beecrypt::util::AbstractList< Provider >, beecrypt::util::AbstractSet< class Map< K, V >::Entry >, and beecrypt::util::AbstractSet< K >.
Referenced by beecrypt::util::AbstractCollection< K >::hashCode().
virtual bool beecrypt::util::AbstractCollection< E >::isEmpty | ( | ) | const throw () [inline, virtual] |
Implements beecrypt::util::Collection< E >.
Reimplemented in beecrypt::util::ArrayList< E >, and beecrypt::util::ArrayList< Provider >.
virtual Iterator<E>* beecrypt::util::AbstractCollection< E >::iterator | ( | ) | const [pure virtual] |
virtual Iterator<E>* beecrypt::util::AbstractCollection< E >::iterator | ( | ) | [pure virtual] |
Implements beecrypt::util::Collection< E >.
Implemented in beecrypt::util::AbstractList< E >, beecrypt::util::AbstractSet< E >, beecrypt::util::AbstractList< E >, beecrypt::util::AbstractList< Provider >, beecrypt::util::AbstractSet< class Map< K, V >::Entry >, and beecrypt::util::AbstractSet< K >.
Referenced by beecrypt::util::AbstractCollection< K >::addAll(), beecrypt::util::AbstractCollection< K >::clear(), beecrypt::util::AbstractCollection< K >::contains(), beecrypt::util::AbstractCollection< K >::remove(), beecrypt::util::AbstractCollection< K >::removeAll(), beecrypt::util::AbstractCollection< K >::toArray(), and beecrypt::util::AbstractCollection< K >::toString().
virtual bool beecrypt::util::AbstractCollection< E >::remove | ( | const E * | e | ) | [inline, virtual] |
Implements beecrypt::util::Collection< E >.
Reimplemented in beecrypt::util::ArrayList< E >, and beecrypt::util::ArrayList< Provider >.
virtual bool beecrypt::util::AbstractCollection< E >::removeAll | ( | const Collection< E > & | c | ) | [inline, virtual] |
Implements beecrypt::util::Collection< E >.
Reimplemented in beecrypt::util::AbstractSet< E >, beecrypt::util::AbstractSet< class Map< K, V >::Entry >, and beecrypt::util::AbstractSet< K >.
virtual bool beecrypt::util::AbstractCollection< E >::retainAll | ( | const Collection< E > & | c | ) | [inline, virtual] |
Implements beecrypt::util::Collection< E >.
virtual jint beecrypt::util::AbstractCollection< E >::size | ( | ) | const throw () [pure virtual] |
Implements beecrypt::util::Collection< E >.
Implemented in beecrypt::util::AbstractList< E >, beecrypt::util::AbstractSet< E >, beecrypt::util::ArrayList< E >, beecrypt::util::AbstractList< E >, beecrypt::util::AbstractList< Provider >, beecrypt::util::AbstractSet< class Map< K, V >::Entry >, beecrypt::util::AbstractSet< K >, and beecrypt::util::ArrayList< Provider >.
Referenced by beecrypt::util::AbstractCollection< K >::clear(), beecrypt::util::AbstractCollection< K >::contains(), beecrypt::util::AbstractCollection< K >::isEmpty(), beecrypt::util::AbstractCollection< K >::remove(), beecrypt::util::AbstractCollection< K >::removeAll(), beecrypt::util::AbstractCollection< K >::toArray(), and beecrypt::util::AbstractCollection< K >::toString().
virtual array<E*> beecrypt::util::AbstractCollection< E >::toArray | ( | ) | const [inline, virtual] |
Implements beecrypt::util::Collection< E >.
Reimplemented in beecrypt::util::ArrayList< E >, and beecrypt::util::ArrayList< Provider >.
virtual String beecrypt::util::AbstractCollection< E >::toString | ( | ) | const throw () [inline, virtual] |
Reimplemented from beecrypt::lang::Object.