/// `contains_or_add` only Adds hash, if it's not present in the bloomfilter.
/// Returns true if hash was added.
/// Returns false if hash was already registered in the bloomfilter.
`contains_or_add` only Adds hash, if it's not present in the bloomfilter.
Returns true if hash was added.
Returns false if hash was already registered in the bloomfilter.
` contains_or_add ` only Adds hash if it ' s not present in the bloomfilter . Returns true if hash was added . Returns false if hash was already registered in the bloomfilter .
pub fn contains_or_add(&mut self, hash: u64) -> bool {
        if self.contains(hash) {
            false
        } else {
            self.add(hash);
            true
        }
    }
pub fn contains_or_add ( & mut self , hash : u64 ) -> bool { if self . contains ( hash ) { false } else { self . add ( hash ) ; true } }
`contains_or_add` only Adds hash, if it's not present in the bloomfilter.
` contains_or_add ` only Adds hash if it ' s not present in the bloomfilter .
&mut self
hash
u64