Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for mightContain (0.05 sec)

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

        bf1.put(element1);
        assertTrue(bf1.mightContain(element1));
        assertFalse(bf1.mightContain(element2));
    
        BloomFilter<Integer> bf2 = BloomFilter.create(Funnels.integerFunnel(), 100);
        bf2.put(element2);
        assertFalse(bf2.mightContain(element1));
        assertTrue(bf2.mightContain(element2));
    
        assertTrue(bf1.isCompatible(bf2));
        bf1.putAll(bf2);
        assertTrue(bf1.mightContain(element1));
    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

       * false} if this is <i>definitely</i> not the case.
       */
      public boolean mightContain(@ParametricNullness T object) {
        return strategy.mightContain(object, funnel, numHashFunctions, bits);
      }
    
      /**
       * @deprecated Provided only to satisfy the {@link Predicate} interface; use {@link #mightContain}
       *     instead.
       */
      @Deprecated
      @Override
    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