Oracle Coherence for C++ API
Release 3.7.1.0
E22845-01
#include <coherence/util/MapValuesCollection.hpp>
Inherits ConverterCollections::ConverterCollection.
A wrapper class that provides the Collection interface for the value collection of a map.
It's returned by the default implementation of the AbstractMap::values() method. MapValuesCollection is based on the ConverterCollections functionality which will convert a map's entrySet into a KeySet
Note that because this ConverterSet is based on the Map's entrySet, all write operations on the set must be converted out to a method on the Map, not the keyset.
| FinalHolder< Map > | m_thMapDelegate |
| The Map to which this KeySet is tied. | |
| virtual Map::Handle | getMapDelegate () |
| Return the delegate Map instance. | |
| virtual Map::View | getMapDelegate () const |
| Return the delegate Map instance. | |
| virtual bool | remove (Object::View v) |
| inheritDoc} | |
| virtual bool | removeAll (Collection::View vc) |
| inheritDoc} | |
| virtual bool | retainAll (Collection::View vc) |
| inheritDoc} | |
| virtual bool | contains (Object::View v) const |
| inheritDoc} | |
| virtual bool | containsAll (Collection::View vc) const |
| inheritDoc} | |
Public Types |
|
| typedef spec::Handle | Handle |
| MapValuesCollection Handle definition. | |
| typedef spec::View | View |
| MapValuesCollection View definition. | |
| typedef spec::Holder | Holder |
| MapValuesCollection Holder definition. | |
Protected Member Functions |
|
| MapValuesCollection (Map::Handle hMapDelegate) | |
| Create a WrapperCollections::AbstractWrapperCollection which delegates to the specified Collection. | |
| MapValuesCollection (Map::View vMapDelegate) | |
| Create a WrapperCollections::AbstractWrapperCollection which delegates to the specified Collection. | |
Classes |
|
| class | ValueConverter |
| Convert a Map::Entry into a Map::Entry::Key. More... | |
| MapValuesCollection | ( | Map::Handle | hMapDelegate | ) | [protected] |
Create a WrapperCollections::AbstractWrapperCollection which delegates to the specified Collection.
| hMapDelegate | the underlying map |
| MapValuesCollection | ( | Map::View | vMapDelegate | ) | [protected] |
Create a WrapperCollections::AbstractWrapperCollection which delegates to the specified Collection.
| vMapDelegate | the underlying map |
| virtual Map::Handle getMapDelegate | ( | ) | [protected, virtual] |
| virtual Map::View getMapDelegate | ( | ) | const [protected, virtual] |
The documentation for this class was generated from the following file: