Closed lwhite1 closed 8 years ago
Hi,
this was indeed a problem. In 1.1.0 the raw byte[] methods now all End with *Raw so that the ambiguity problem for BloomFilter with byte[] as their generic type are gone.
As an explanation: the generic methods all map to the byte methods an use the String representation of the given object in order to derive its byte representation. So you are fine using the *Raw methods and skipping the conversion.
...
results in a compilation error:
Error:(73, 8) java: reference to remove is ambiguous both method remove(byte[]) in orestes.bloomfilter.CountingBloomFilter and method remove(T) in orestes.bloomfilter.CountingBloomFilter match
Casting to a byte[], as below, does not help:
produces the same error.
Any help is appreciated.