Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isM2compatible (0.06 sec)

  1. guava-tests/test/com/google/common/hash/BloomFilterTest.java

        BloomFilter<Integer> bf2 = BloomFilter.create(Funnels.integerFunnel(), 10);
    
        assertFalse(bf1.isCompatible(bf2));
        assertThrows(
            IllegalArgumentException.class,
            () -> {
              bf1.putAll(bf2);
            });
    
        assertFalse(bf2.isCompatible(bf1));
        assertThrows(
            IllegalArgumentException.class,
            () -> {
              bf2.putAll(bf1);
            });
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/BloomFilter.java

       *   <li>have the same strategy
       *   <li>have equal funnels
       * </ul>
       *
       * @param that The Bloom filter to check for compatibility.
       * @since 15.0
       */
      public boolean isCompatible(BloomFilter<T> that) {
        checkNotNull(that);
        return this != that
            && this.numHashFunctions == that.numHashFunctions
            && this.bitSize() == that.bitSize()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 26.6K bytes
    - Viewed (0)
Back to top