void function ( E arg0 ) { long loc0 ; String loc1 = arg0 . toString ( ) ; for ( int loc2 = 0 ; loc2 < k ; loc2 ++ ) { loc0 = createHash ( loc1 + Integer . toString ( loc2 ) ) ; loc0 = loc0 % ( long ) bitSetSize ; bitset . set ( Math . abs ( ( int ) loc0 ) , true ) ; } numberOfAddedElements ++ ; }
adds an object to the bloom filter . the output from the object 's tostring method is used as input to the hash functions . concode_field_sep double bitsPerElement concode_elem_sep MessageDigest digestFunction concode_elem_sep int numberOfAddedElements concode_elem_sep String hashName concode_elem_sep Charset charset concode_elem_sep int bitSetSize concode_elem_sep int expectedNumberOfFilterElements concode_elem_sep int k concode_elem_sep BitSet bitset concode_field_sep double getFalsePositiveProbability concode_elem_sep double getFalsePositiveProbability concode_elem_sep BitSet getBitSet concode_elem_sep int getK concode_elem_sep double expectedFalsePositiveProbability concode_elem_sep boolean containsAll concode_elem_sep void clear concode_elem_sep int count concode_elem_sep void setBit concode_elem_sep boolean contains concode_elem_sep int size concode_elem_sep void addAll concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep double getBitsPerElement concode_elem_sep double getExpectedBitsPerElement concode_elem_sep int getExpectedNumberOfElements concode_elem_sep long createHash concode_elem_sep long createHash concode_elem_sep long createHash concode_elem_sep boolean getBit