Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 162 for Multisets (0.09 sec)

  1. guava/src/com/google/common/util/concurrent/AtomicLongMap.java

     *
     * <p><b>Note:</b> If your values are always positive and less than 2^31, you may wish to use a
     * {@link com.google.common.collect.Multiset} such as {@link
     * com.google.common.collect.ConcurrentHashMultiset} instead.
     *
     * <p><b>Warning:</b> Unlike {@code Multiset}, entries whose values are zero are not automatically
     * removed from the map. Instead they must be removed manually with {@link #removeAllZeros}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  2. android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import com.google.common.collect.LinkedHashMultiset;
    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.Ordering;
    import com.google.common.collect.Range;
    import com.google.common.collect.RowSortedTable;
    import com.google.common.collect.SetMultimap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 17.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/google/MultisetAddTester.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.testing.features.CollectionFeature;
    import java.util.Collections;
    import org.junit.Ignore;
    
    /**
     * Tests for {@code Multiset.add}.
     *
     * @author Jared Levy
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    @SuppressWarnings("JUnit4ClassUsedInJUnit3")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

     *
     * <p><b>Note:</b> If your values are always positive and less than 2^31, you may wish to use a
     * {@link com.google.common.collect.Multiset} such as {@link
     * com.google.common.collect.ConcurrentHashMultiset} instead.
     *
     * <p><b>Warning:</b> Unlike {@code Multiset}, entries whose values are zero are not automatically
     * removed from the map. Instead they must be removed manually with {@link #removeAllZeros}.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  5. guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java

    import com.google.common.collect.LinkedHashMultiset;
    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.Ordering;
    import com.google.common.collect.Range;
    import com.google.common.collect.RowSortedTable;
    import com.google.common.collect.SetMultimap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 18.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/ArbitraryInstances.java

    import com.google.common.collect.MapDifference;
    import com.google.common.collect.Maps;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multimaps;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.Ordering;
    import com.google.common.collect.PeekingIterator;
    import com.google.common.collect.Range;
    import com.google.common.collect.RowSortedTable;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  7. README.md

    
    
    Guava is a set of core Java libraries from Google that includes new collection
    types (such as multimap and multiset), immutable collections, a graph library,
    and utilities for concurrency, I/O, hashing, primitives, strings, and more! It
    is widely used on most Java projects within Google, and widely used by many
    other companies as well.
    
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 24 18:34:38 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableMultimap;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.testing.AbstractTester;
    import com.google.common.collect.testing.CollectionTestSuiteBuilder;
    import com.google.common.collect.testing.DerivedGenerator;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  9. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

    import com.google.common.collect.ImmutableTable;
    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.MapDifference;
    import com.google.common.collect.Multimap;
    import com.google.common.collect.Multiset;
    import com.google.common.collect.PeekingIterator;
    import com.google.common.collect.Range;
    import com.google.common.collect.RowSortedTable;
    import com.google.common.collect.SetMultimap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Iterables.java

       *     Object)
       */
      public static int frequency(Iterable<?> iterable, @CheckForNull Object element) {
        if ((iterable instanceof Multiset)) {
          return ((Multiset<?>) iterable).count(element);
        } else if ((iterable instanceof Set)) {
          return ((Set<?>) iterable).contains(element) ? 1 : 0;
        }
        return Iterators.frequency(iterable.iterator(), element);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 24 19:38:27 UTC 2024
    - 42.8K bytes
    - Viewed (0)
Back to top