Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 94 for Filters (0.29 sec)

  1. guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

                    SortedMultiset<E> multiset =
                        (SortedMultiset<E>) delegate.create(allEntries.toArray());
    
                    // call the smallest subMap overload that filters out the extreme
                    // values
                    if (from == Bound.INCLUSIVE) {
                      multiset = multiset.tailMultiset(firstInclusive, BoundType.CLOSED);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/google/SortedMultisetTestSuiteBuilder.java

                    SortedMultiset<E> multiset =
                        (SortedMultiset<E>) delegate.create(allEntries.toArray());
    
                    // call the smallest subMap overload that filters out the extreme
                    // values
                    if (from == Bound.INCLUSIVE) {
                      multiset = multiset.tailMultiset(firstInclusive, BoundType.CLOSED);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Funnel.java

     * An object which can send data from an object of type {@code T} into a {@code PrimitiveSink}.
     * Implementations for common types can be found in {@link Funnels}.
     *
     * <p>Note that serialization of {@linkplain BloomFilter bloom filters} requires the proper
     * serialization of funnels. When possible, it is recommended that funnels be implemented as a
     * single-element enum to maintain serialization guarantees. See Effective Java (2nd Edition), Item
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 20 18:43:59 GMT 2021
    - 2.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/FluentIterable.java

       * <p><b>{@code Stream} equivalent:</b> {@link Stream#filter} (same).
       */
      public final FluentIterable<E> filter(Predicate<? super E> predicate) {
        return from(Iterables.filter(getDelegate(), predicate));
      }
    
      /**
       * Returns the elements from this fluent iterable that are instances of class {@code type}.
       *
       * <p><b>{@code Stream} equivalent:</b> {@code stream.filter(type::isInstance).map(type::cast)}.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/BloomFilter.java

      }
    
      /**
       * Combines this Bloom filter with another Bloom filter by performing a bitwise OR of the
       * underlying data. The mutations happen to <b>this</b> instance. Callers must ensure the Bloom
       * filters are appropriately sized to avoid saturating them.
       *
       * @param that The Bloom filter to combine this Bloom filter with. It is not mutated.
       * @throws IllegalArgumentException if {@code isCompatible(that) == false}
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          SortedSet<E> set = delegate.create(allEntries.toArray());
    
          return createSubSet(set, firstExclusive, lastExclusive);
        }
    
        /** Calls the smallest subSet overload that filters out the extreme values. */
        SortedSet<E> createSubSet(SortedSet<E> set, E firstExclusive, E lastExclusive) {
          if (from == Bound.NO_BOUND && to == Bound.EXCLUSIVE) {
            return set.headSet(lastExclusive);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/DerivedCollectionGenerators.java

          SortedSet<E> set = delegate.create(allEntries.toArray());
    
          return createSubSet(set, firstExclusive, lastExclusive);
        }
    
        /** Calls the smallest subSet overload that filters out the extreme values. */
        SortedSet<E> createSubSet(SortedSet<E> set, E firstExclusive, E lastExclusive) {
          if (from == Bound.NO_BOUND && to == Bound.EXCLUSIVE) {
            return set.headSet(lastExclusive);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 18.2K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/hash/BloomFilterStrategies.java

    @ElementTypesAreNonnullByDefault
    enum BloomFilterStrategies implements BloomFilter.Strategy {
      /**
       * See "Less Hashing, Same Performance: Building a Better Bloom Filter" by Adam Kirsch and Michael
       * Mitzenmacher. The paper argues that this trick doesn't significantly deteriorate the
       * performance of a Bloom filter (yet only needs two 32bit hash functions).
       */
      MURMUR128_MITZ_32() {
        @Override
        public <T extends @Nullable Object> boolean put(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Oct 10 19:45:10 GMT 2022
    - 10.7K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/FilteredCollectionsTestUtil.java

            assertFalse(filter(createUnfiltered(contents), EVEN).contains(new Object()));
          }
        }
    
        public void testAddAllFailsAtomically() {
          ImmutableList<Integer> toAdd = ImmutableList.of(2, 4, 3);
          for (List<Integer> contents : SAMPLE_INPUTS) {
            C filtered = filter(createUnfiltered(contents), EVEN);
            C filteredToModify = filter(createUnfiltered(contents), EVEN);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.9K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsCollectionTest.java

                        Map<String, String> map = Maps.newHashMap();
                        putEntries(map, entries);
                        map.putAll(ENTRIES_TO_FILTER);
                        map = Maps.filterEntries(map, FILTER_ENTRIES_1);
                        return Maps.filterEntries(map, FILTER_ENTRIES_2);
                      }
                    })
                .named("Maps.filterEntries[Maps.filterEntries[Map, Predicate], Predicate]")
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 32.2K bytes
    - Viewed (0)
Back to top