pub fn finish<L, R>(self) -> BiMap<L, R, LH, RH, B> {
        let capacity = match self.capacity {
            0 => 0,
            cap => (cmp::max(DEFAULT_HASH_MAP_SIZE, cap) as f32 * MAX_LOAD_FACTOR).ceil() as usize,
        };
        BiMap {
            len: 0,
            left_data: Bucket::empty_vec(capacity),
            right_data: Bucket::empty_vec(capacity),
            left_hasher: self.left_hasher,
            right_hasher: self.right_hasher,
        }
    }
/// Takes a completely configured builder, and creates a new `BiMap` with the specified
/// configurations.
///
/// ```
/// # use isomorphism::{BiMap, BiMapBuilder};
/// let map: BiMap<String, String> = BiMapBuilder::new().finish();
/// ```
Takes a completely configured builder, and creates a new `BiMap` with the specified
configurations.


Takes a completely configured builder and creates a new ` BiMap ` with the specified configurations .
pub fn finish<L, R>(self) -> BiMap<L, R, LH, RH, B> {
        let capacity = match self.capacity {
            0 => 0,
            cap => (cmp::max(DEFAULT_HASH_MAP_SIZE, cap) as f32 * MAX_LOAD_FACTOR).ceil() as usize,
        };
        BiMap {
            len: 0,
            left_data: Bucket::empty_vec(capacity),
            right_data: Bucket::empty_vec(capacity),
            left_hasher: self.left_hasher,
            right_hasher: self.right_hasher,
        }
    }
pub fn finish < L , R > ( self ) -> BiMap < L , R , LH , RH , B > { let capacity = match self . capacity { 0 => 0 , cap => ( cmp :: max ( DEFAULT_HASH_MAP_SIZE , cap ) as f32 * MAX_LOAD_FACTOR ) . ceil ( ) as usize , } ; BiMap { len : 0 , left_data : Bucket :: empty_vec ( capacity ) , right_data : Bucket :: empty_vec ( capacity ) , left_hasher : self . left_hasher , right_hasher : self . right_hasher , } }
Takes a completely configured builder, and creates a new `BiMap` with the specified
configurations.
Takes a completely configured builder and creates a new ` BiMap ` with the specified configurations .
self
self
use isomorphism::{bimap, bimapbuilder};
let map: BiMap = BiMapBuilder::new().finish();
```
let map : BiMap = BiMapBuilder :: new () . finish () ; ` ` `