#include <coherence/util/ListMuterator.hpp>
Inherits ListIterator, and Muterator.
Inherited by WrapperCollections::AbstractWrapperListIterator [virtual]
.
Public Types | |
typedef spec::Handle | Handle |
ListMuterator Handle definition. | |
typedef spec::View | View |
ListMuterator View definition. | |
typedef spec::Holder | Holder |
ListMuterator Holder definition. | |
Public Member Functions | |
virtual void | add (Object::Holder oh)=0 |
Insert the specified element immediately before the element to be returned from the next call to the next() method. | |
virtual void | set (Object::Holder oh)=0 |
Replace the last element returned by next() or previous() with the specified element. |
virtual void add | ( | Object::Holder | oh | ) | [pure virtual] |
Insert the specified element immediately before the element to be returned from the next call to the next() method.
A subsequent call to next() will not return the added element, while a call to previous() would return the added element.
oh | the element to add |
UnsupportedOperationException | if addition is not supported |
Implemented in WrapperCollections::AbstractWrapperListIterator.
virtual void set | ( | Object::Holder | oh | ) | [pure virtual] |
Replace the last element returned by next() or previous() with the specified element.
oh | the element to store |
UnsupportedOperationException | if set is not supported |
Implemented in WrapperCollections::AbstractWrapperListIterator.