Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 248 for AsMap (0.03 sec)

  1. android/guava/src/com/google/common/collect/AbstractSortedSetMultimap.java

       *
       * <p>When passed a key that is present in the map, {@code asMap().get(Object)} has the same
       * behavior as {@link #get}, returning a live collection. When passed a key that is not present,
       * however, {@code asMap().get(Object)} returns {@code null} instead of an empty collection.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 5.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/SortedSetMultimap.java

       *
       * <p>When passed a key that is present in the map, {@code asMap().get(Object)} has the same
       * behavior as {@link #get}, returning a live collection. When passed a key that is not present,
       * however, {@code asMap().get(Object)} returns {@code null} instead of an empty collection.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 5.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/cache/CacheExpirationTest.java

        assertEquals(1, Iterators.size(cache.asMap().entrySet().iterator()));
        assertEquals(1, Iterators.size(cache.asMap().keySet().iterator()));
        assertEquals(1, Iterators.size(cache.asMap().values().iterator()));
    
        CacheTesting.expireEntries((LoadingCache<?, ?>) cache, EXPIRING_TIME, ticker);
    
        for (int i = 0; i < 11; i++) {
          assertFalse(cache.asMap().containsKey(KEY_PREFIX + i));
        }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Aug 05 17:21:46 UTC 2022
    - 18.7K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ListMultimap.java

       * this map with the more specific generic type {@code Map<K, List<V>>}, call {@link
       * Multimaps#asMap(ListMultimap)} instead.
       */
      @Override
      Map<K, Collection<V>> asMap();
    
      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code ListMultimap} instances are equal if, for each key, they contain the same values
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ListMultimap.java

       * this map with the more specific generic type {@code Map<K, List<V>>}, call {@link
       * Multimaps#asMap(ListMultimap)} instead.
       */
      @Override
      Map<K, Collection<V>> asMap();
    
      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code ListMultimap} instances are equal if, for each key, they contain the same values
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 3.5K bytes
    - Viewed (0)
  6. testing/integ-test/src/integTest/groovy/org/gradle/integtests/TaskErrorExecutionIntegrationTest.groovy

                solutions == [
                    'Assign a value to \'destFile\'',
                    'Mark property \'destFile\' as optional',
                ]
                additionalData.asMap == [
                    'typeName' : 'CustomTask',
                    'propertyName' : 'destFile',
                ]
            }
            verifyAll(receivedProblem(1)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 09:03:53 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/collect/TreeMultimapNaturalTest.java

      public void testTreeMultimapAsMapSorted() {
        TreeMultimap<String, Integer> multimap = createPopulate();
        SortedMap<String, Collection<Integer>> asMap = multimap.asMap();
        assertEquals(Ordering.natural(), asMap.comparator());
        assertEquals("foo", asMap.firstKey());
        assertEquals("tree", asMap.lastKey());
        Set<Integer> fooValues = ImmutableSet.of(1, 3, 7);
        Set<Integer> googleValues = ImmutableSet.of(2, 6);
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Mar 07 18:34:03 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractListMultimapTester.java

        assertEqualInOrder(values, multimap().get(key));
    
        if (!values.isEmpty()) {
          assertEqualInOrder(values, multimap().asMap().get(key));
          assertFalse(multimap().isEmpty());
        } else {
          assertNull(multimap().asMap().get(key));
        }
    
        assertEquals(values.size(), multimap().get(key).size());
        assertEquals(values.size() > 0, multimap().containsKey(key));
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/rules/IvySpecificComponentMetadataRulesIntegrationTest.groovy

        @Override
        void execute(ComponentMetadataContext context) {
                ruleInvoked = true
                def descriptor = context.getDescriptor(IvyModuleDescriptor)
                assert descriptor.extraInfo.asMap() == [${declareNS('foo')}: "fooValue", ${declareNS('bar')}: "barValue"]
                assert descriptor.extraInfo.get('foo') == 'fooValue'
                assert descriptor.extraInfo.get('${ns('foo').namespace}', 'foo') == 'fooValue'
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 10 21:10:11 UTC 2023
    - 11.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/EmptyImmutableSetMultimap.java

       * just back this out once we stop doing that (which we'll do after our internal GWT setup
       * changes).
       */
      @Override
      public ImmutableMap<Object, Collection<Object>> asMap() {
        return super.asMap();
      }
    
      private Object readResolve() {
        return INSTANCE; // preserve singleton property
      }
    
      private static final long serialVersionUID = 0;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 18 16:48:17 UTC 2022
    - 1.7K bytes
    - Viewed (0)
Back to top