Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 1,277 for maps (0.23 sec)

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

        }
      }
    
      @CollectionSize.Require(SEVERAL)
      public void testEquals() {
        resetContainer(
            Helpers.mapEntry(k0(), v0()), Helpers.mapEntry(k1(), v0()), Helpers.mapEntry(k0(), v3()));
        Map<K, Collection<V>> expected = Maps.newHashMap();
        expected.put(k0(), Sets.newHashSet(v0(), v3()));
        expected.put(k1(), Sets.newHashSet(v0()));
        new EqualsTester().addEqualityGroup(expected, multimap().asMap()).testEquals();
      }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ClassToInstanceMap.java

    import com.google.errorprone.annotations.DoNotMock;
    import java.util.Map;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.NonNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A map, each entry of which maps a Java <a href="http://tinyurl.com/2cmwkz">raw type</a> to an
     * instance of that type. In addition to implementing {@code Map}, the additional type-safe
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/RangeMap.java

       * this range map are guaranteed to read through to the returned {@code Map}.
       *
       * <p>The returned {@code Map} iterates over entries in ascending order of the bounds of the
       * {@code Range} entries.
       *
       * <p>It is guaranteed that no empty ranges will be in the returned {@code Map}.
       */
      Map<Range<K>, V> asMapOfRanges();
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java

      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        Map<String, Integer> map = Maps.newHashMap();
        return Multimaps.forMap(map).asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Map<String, Integer> map = Maps.newHashMap();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("cow", 3);
        return Multimaps.forMap(map).asMap();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/cache/PopulatedCachesTest.java

        return Maps.immutableEntry(key, value);
      }
    
      private void assertMapSize(Map<?, ?> map, int size) {
        assertEquals(size, map.size());
        if (size > 0) {
          assertFalse(map.isEmpty());
        } else {
          assertTrue(map.isEmpty());
        }
        assertCollectionSize(map.keySet(), size);
        assertCollectionSize(map.entrySet(), size);
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/collect/ForMapMultimapAsMapImplementsMapTest.java

      }
    
      @Override
      protected Map<String, Collection<Integer>> makeEmptyMap() {
        Map<String, Integer> map = Maps.newHashMap();
        return Multimaps.forMap(map).asMap();
      }
    
      @Override
      protected Map<String, Collection<Integer>> makePopulatedMap() {
        Map<String, Integer> map = Maps.newHashMap();
        map.put("foo", 1);
        map.put("bar", 2);
        map.put("cow", 3);
        return Multimaps.forMap(map).asMap();
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3K bytes
    - Viewed (0)
  7. cycle_suppress_list.txt

    FIELD com.google.common.collect.ImmutableRangeMap.ranges
    FIELD com.google.common.collect.ImmutableRangeSet.ranges
    FIELD com.google.common.collect.ImmutableSet.asList
    FIELD com.google.common.collect.Maps.FilteredMapValues.unfiltered
    FIELD com.google.common.collect.Sets.SubSet.inputSet
    FIELD com.google.common.collect.SingletonImmutableBiMap.inverse
    FIELD com.google.common.collect.TreeTraverser.PostOrderNode.childIterator
    Plain Text
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 3.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * backing map.
       *
       * <p>This instance will assume ownership of {@code countMap}, and other code should not maintain
       * references to the map or modify it in any way.
       *
       * <p>The returned multiset is serializable if the input map is.
       *
       * @param countMap backing map for storing the elements in the multiset and their counts. It must
       *     be empty.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Multimaps.java

        final Map<K, V> map;
    
        MapMultimap(Map<K, V> map) {
          this.map = checkNotNull(map);
        }
    
        @Override
        public int size() {
          return map.size();
        }
    
        @Override
        public boolean containsKey(@CheckForNull Object key) {
          return map.containsKey(key);
        }
    
        @Override
    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)
  10. guava-tests/test/com/google/common/collect/TreeRangeMapTest.java

          Map<Integer, Integer> model = Maps.newHashMap();
          putModel(model, range, 1);
          RangeMap<Integer, Integer> test = TreeRangeMap.create();
          test.put(range, 1);
          verify(model, test);
        }
      }
    
      public void testAllRangePairs() {
        for (Range<Integer> range1 : RANGES) {
          for (Range<Integer> range2 : RANGES) {
            Map<Integer, Integer> model = Maps.newHashMap();
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 33.2K bytes
    - Viewed (0)
Back to top