Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 39 of 39 for ImmutableMultiset (0.08 sec)

  1. guava/src/com/google/common/net/MediaType.java

      public ImmutableListMultimap<String, String> parameters() {
        return parameters;
      }
    
      private Map<String, ImmutableMultiset<String>> parametersAsMap() {
        return Maps.transformValues(parameters.asMap(), ImmutableMultiset::copyOf);
      }
    
      /**
       * Returns an optional charset for the value of the charset parameter if it is specified.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

          }
        },
        ImmutableMultisetImpl {
          @Override
          public <E extends Comparable<E>> Multiset<E> create(Collection<E> contents) {
            return ImmutableMultiset.copyOf(contents);
          }
        };
      }
    
      enum SortedMultisetImpl implements CollectionsImplEnum {
        TreeMultisetImpl {
          @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 10 19:54:19 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/net/MediaType.java

      public ImmutableListMultimap<String, String> parameters() {
        return parameters;
      }
    
      private Map<String, ImmutableMultiset<String>> parametersAsMap() {
        return Maps.transformValues(parameters.asMap(), ImmutableMultiset::copyOf);
      }
    
      /**
       * Returns an optional charset for the value of the charset parameter if it is specified.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 48K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableCollection.java

     *       ordering is otherwise specified (e.g. {@link ImmutableSortedSet#naturalOrder}). See the
     *       appropriate factory method for details. View collections such as {@link
     *       ImmutableMultiset#elementSet} iterate in the same order as the parent, except as noted.
     *   <li><b>Thread safety.</b> It is safe to access this collection concurrently from multiple
     *       threads.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.7K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ImmutableCollection.java

     *       ordering is otherwise specified (e.g. {@link ImmutableSortedSet#naturalOrder}). See the
     *       appropriate factory method for details. View collections such as {@link
     *       ImmutableMultiset#elementSet} iterate in the same order as the parent, except as noted.
     *   <li><b>Thread safety.</b> It is safe to access this collection concurrently from multiple
     *       threads.
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Multiset.java

     * element (in a way that affects its {@link Object#equals} behavior) while it is contained in a
     * multiset. Undefined behavior and bugs will result.
     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableMultiset}
     *   <li>{@link ImmutableSortedMultiset}
     *   <li>{@link HashMultiset}
     *   <li>{@link LinkedHashMultiset}
     *   <li>{@link TreeMultiset}
     *   <li>{@link EnumMultiset}
     *   <li>{@link ConcurrentHashMultiset}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 19.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/Multiset.java

     * element (in a way that affects its {@link Object#equals} behavior) while it is contained in a
     * multiset. Undefined behavior and bugs will result.
     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableMultiset}
     *   <li>{@link ImmutableSortedMultiset}
     *   <li>{@link HashMultiset}
     *   <li>{@link LinkedHashMultiset}
     *   <li>{@link TreeMultiset}
     *   <li>{@link EnumMultiset}
     *   <li>{@link ConcurrentHashMultiset}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/IterablesTest.java

        assertSame(immutableList, Iterables.unmodifiableIterable((List<String>) immutableList));
      }
    
      public void testFrequency_multiset() {
        Multiset<String> multiset = ImmutableMultiset.of("a", "b", "a", "c", "b", "a");
        assertEquals(3, frequency(multiset, "a"));
        assertEquals(2, frequency(multiset, "b"));
        assertEquals(1, frequency(multiset, "c"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 45.2K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/collect/IterablesTest.java

        assertSame(immutableList, Iterables.unmodifiableIterable((List<String>) immutableList));
      }
    
      public void testFrequency_multiset() {
        Multiset<String> multiset = ImmutableMultiset.of("a", "b", "a", "c", "b", "a");
        assertEquals(3, frequency(multiset, "a"));
        assertEquals(2, frequency(multiset, "b"));
        assertEquals(1, frequency(multiset, "c"));
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 46.6K bytes
    - Viewed (0)
Back to top