Oracle® Fusion Middleware C++ API Reference for Oracle Coherence
12c (12.2.1.2.0)

E77779-01

ConverterCollections::ConverterMap Class Reference

#include <coherence/util/ConverterCollections.hpp>

Inherited by ConverterCollections::ConverterConcurrentMap, ConverterCollections::ConverterInvocableMap, ConverterCollections::ConverterObservableMap, and ConverterCollections::ConverterQueryMap.

List of all members.


Detailed Description

A ConverterMap views an underlying Map through a Converter.

Public Types

typedef spec::Handle Handle
 ConverterMap Handle definition.
typedef spec::View View
 ConverterMap View definition.
typedef spec::Holder Holder
 ConverterMap Holder definition.

Public Member Functions

virtual bool containsKey (Object::View vKey) const
 
virtual bool containsValue (Object::View vValue) const
 
virtual Object::Holder get (Object::View vKey) const
 
virtual Object::Holder put (Object::View vKey, Object::Holder ohValue)
 
virtual Object::Holder remove (Object::View vKey)
 
virtual void putAll (Map::View vMap)
 
virtual Set::View keySet () const
 
virtual Set::Handle keySet ()
 
virtual Collection::View values () const
 
virtual
Collection::Handle 
values ()
 
virtual Set::View entrySet () const
 
virtual Set::Handle entrySet ()
 
virtual bool equals (Object::View that) const
 
virtual size32_t hashCode () const
 
virtual TypedHandle
< const String
toString () const
 
virtual
EntryConverter::View 
getUpConverter () const
 Get the up converter, which is used to convert from the underlying entries in the Map.
virtual
EntryConverter::View 
getDownConverter () const
 Get the down converter, which is used to convert to the underlying entries in the Map.

Protected Member Functions

 ConverterMap (Map::Handle hMapDelegate, EntryConverter::View vConvUp, EntryConverter::View vConvDown)
 Create a WrapperCollections::AbstractWrapperMap which delegates to the specified Map.
 ConverterMap (Map::View vMapDelegate, EntryConverter::View vConvUp, EntryConverter::View vConvDown)
 Create a WrapperCollections::AbstractWrapperMap which delegates to the specified Map.
 ConverterMap (const ConverterMap &that)
 Copy constructor.

Protected Attributes

FinalView
< EntryConverter
f_vConvUp
 The Converter from the underlying entries in the Map.
FinalView
< EntryConverter
f_vConvDown
 The Converter to the underlying entries in the Map.

Constructor & Destructor Documentation

ConverterMap ( Map::Handle  hMapDelegate,
EntryConverter::View  vConvUp,
EntryConverter::View  vConvDown 
) [protected]

Create a WrapperCollections::AbstractWrapperMap which delegates to the specified Map.

Parameters:
hMap the specified Map
vConvUp the EntryConverter from the underlying Map
vConvDown the EntryConverter to the underlying Map

ConverterMap ( Map::View  vMapDelegate,
EntryConverter::View  vConvUp,
EntryConverter::View  vConvDown 
) [protected]

Create a WrapperCollections::AbstractWrapperMap which delegates to the specified Map.

Parameters:
vMap the specified Map
vConvUp the EntryConverter from the underlying Map
vConvDown the EntryConverter to the underlying Map


Member Function Documentation

virtual EntryConverter::View getUpConverter (  )  const [virtual]

Get the up converter, which is used to convert from the underlying entries in the Map.

Returns:
the up converter

virtual EntryConverter::View getDownConverter (  )  const [virtual]

Get the down converter, which is used to convert to the underlying entries in the Map.

Returns:
the down converter


The documentation for this class was generated from the following file:
Copyright © 2000, 2016, Oracle and/or its affiliates. All rights reserved.