public class BsonTypeCodecMap extends Object
| Constructor and Description | 
|---|
| BsonTypeCodecMap(BsonTypeClassMap bsonTypeClassMap,
                CodecRegistry codecRegistry)Initializes the map by iterating the keys of the given BsonTypeClassMap and looking up the Codec for the Class mapped to each key. | 
| Modifier and Type | Method and Description | 
|---|---|
| Codec<?> | get(BsonType bsonType)Gets the Codec mapped to the given bson type. | 
public BsonTypeCodecMap(BsonTypeClassMap bsonTypeClassMap, CodecRegistry codecRegistry)
bsonTypeClassMap - the non-null BsonTypeClassMapcodecRegistry - the non-null CodecRegistry