Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 35 of 35 for HashMultimap (0.18 sec)

  1. android/guava-tests/test/com/google/common/collect/BenchmarkHelpers.java

      public enum SetMultimapImpl {
        HashMultimapImpl {
          @Override
          <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create(
              Multimap<K, V> contents) {
            return HashMultimap.create(contents);
          }
        },
        LinkedHashMultimapImpl {
          @Override
          <K extends Comparable<K>, V extends Comparable<V>> SetMultimap<K, V> create(
              Multimap<K, V> contents) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Mar 04 04:06:35 GMT 2022
    - 12.3K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      }
    
      /** Test that creating one TreeMultimap from a non-TreeMultimap results in natural ordering. */
      public void testCreateFromHashMultimap() {
        Multimap<Double, Double> hash = HashMultimap.create();
        hash.put(1.0, 2.0);
        hash.put(2.0, 3.0);
        hash.put(3.0, 4.0);
        hash.put(4.0, 5.0);
    
        TreeMultimap<Double, Double> copyFromHash = TreeMultimap.create(hash);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      }
    
      /** Test that creating one TreeMultimap from a non-TreeMultimap results in natural ordering. */
      public void testCreateFromHashMultimap() {
        Multimap<Double, Double> hash = HashMultimap.create();
        hash.put(1.0, 2.0);
        hash.put(2.0, 3.0);
        hash.put(3.0, 4.0);
        hash.put(4.0, 5.0);
    
        TreeMultimap<Double, Double> copyFromHash = TreeMultimap.create(hash);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 22.6K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimap.java

     * "https://github.com/google/guava/wiki/NewCollectionTypesExplained#multimap">{@code Multimap}</a>.
     *
     * @author Jared Levy
     * @since 2.0
     */
    @DoNotMock("Use ImmutableMultimap, HashMultimap, or another implementation")
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface Multimap<K extends @Nullable Object, V extends @Nullable Object> {
      // Query Operations
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 15.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Multimaps.java

       * #synchronizedMultimap}.
       *
       * <p>Call this method only when the simpler methods {@link ArrayListMultimap#create()}, {@link
       * HashMultimap#create()}, {@link LinkedHashMultimap#create()}, {@link
       * LinkedListMultimap#create()}, {@link TreeMultimap#create()}, and {@link
       * TreeMultimap#create(Comparator, Comparator)} won't suffice.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
Back to top