Jive reference manual
|
#include <jem/util/MapEnumerator.h>
Public Member Functions | |
virtual Ref< Object > | getKey () const =0 |
virtual Ref< Object > | getValue () const =0 |
virtual Ref< Object > | get () const |
Returns the current object. More... | |
![]() | |
virtual Class * | getClass () const |
Returns the Class instance representing the runtime class of this object. More... | |
virtual bool | atEnd () const =0 |
Checks whether this enumerator points to an end object. More... | |
virtual void | toNext ()=0 |
Advances this enumerator to the next object. More... | |
![]() | |
virtual String | toString () const |
Returns a short textual description of this object. More... | |
virtual long | hashValue () const |
Returns a hash value for this object. More... | |
virtual bool | equals (const Ref< Object > &obj) const |
Tests whether two objects are equal. More... | |
Ref< Object > | clone () const |
Returns a copy of this object. More... | |
Protected Member Functions | |
virtual | ~MapEnumerator () |
void | atEndError_ () const |
![]() | |
virtual | ~Enumerator () |
![]() | |
Collectable () | |
Creates an empty Collectable . More... | |
~Collectable () | |
Frees resources. More... | |
Additional Inherited Members | |
![]() | |
static Class * | makeClass () |
static Class * | getType () |
![]() | |
static Class * | getType () |
Returns the Class instance representing the Object class. More... | |
|
protectedvirtual |
Returns a reference to the object that this enumerator is currently pointing to. This function may not be called if this enumerator is pointing to an end object.
this->atEnd() == false
Implements jem::util::Enumerator.
|
protected |