Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 220 for armap (0.09 sec)

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

          sum = sum + value.get();
        }
        return sum;
      }
    
      @LazyInit @CheckForNull private transient Map<K, Long> asMap;
    
      /** Returns a live, read-only view of the map backing this {@code AtomicLongMap}. */
      public Map<K, Long> asMap() {
        Map<K, Long> result = asMap;
        return (result == null) ? asMap = createAsMap() : result;
      }
    
      private Map<K, Long> createAsMap() {
        return Collections.unmodifiableMap(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. src/test/java/org/codelibs/core/collection/ArrayMapTest.java

         * @throws Exception
         */
        @Test
        public void testPerformance() throws Exception {
            int num = 100000;
            Map<String, Object> hmap = new HashMap<String, Object>();
            Map<String, Object> amap = new ArrayMap<String, Object>();
    
            long start = System.currentTimeMillis();
            for (int i = 0; i < num; i++) {
                hmap.put(String.valueOf(i), null);
            }
    Registered: Wed Jun 12 12:50:12 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  3. platforms/software/dependency-management/src/main/java/org/gradle/api/internal/attributes/FreezableAttributeContainer.java

        }
    
        @Override
        public ImmutableAttributes asImmutable() {
            return delegate.asImmutable();
        }
    
        @Override
        public Map<Attribute<?>, ?> asMap() {
            return delegate.asMap();
        }
    
        @Override
        public Set<Attribute<?>> keySet() {
            return delegate.keySet();
        }
    
        @Override
        public <T> AttributeContainer attribute(Attribute<T> key, T value) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jan 05 20:59:50 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Multimaps.java

      }
    
      /**
       * Returns {@link SetMultimap#asMap multimap.asMap()}, with its type corrected from {@code Map<K,
       * Collection<V>>} to {@code Map<K, Set<V>>}.
       *
       * @since 15.0
       */
      @SuppressWarnings("unchecked")
      // safe by specification of SetMultimap.asMap()
      public static <K extends @Nullable Object, V extends @Nullable Object> Map<K, Set<V>> asMap(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Jun 02 13:36:19 UTC 2024
    - 86.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/Multimaps.java

      }
    
      /**
       * Returns {@link SetMultimap#asMap multimap.asMap()}, with its type corrected from {@code Map<K,
       * Collection<V>>} to {@code Map<K, Set<V>>}.
       *
       * @since 15.0
       */
      @SuppressWarnings("unchecked")
      // safe by specification of SetMultimap.asMap()
      public static <K extends @Nullable Object, V extends @Nullable Object> Map<K, Set<V>> asMap(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 86.4K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/collect/testing/google/MultimapContainsKeyTester.java

    import com.google.common.collect.testing.features.MapFeature;
    import org.junit.Ignore;
    
    /**
     * Tester for the {@code containsKey} methods of {@code Multimap} and its {@code asMap()} view.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore // Affects only Android test runner, which respects JUnit 4 annotations on JUnit 3 tests.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Nov 16 17:41:24 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/SetMultimap.java

       * this map with the more specific generic type {@code Map<K, Set<V>>}, call {@link
       * Multimaps#asMap(SetMultimap)} instead.
       */
      @Override
      Map<K, Collection<V>> asMap();
    
      /**
       * Compares the specified object to this multimap for equality.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/SetMultimap.java

       * this map with the more specific generic type {@code Map<K, Set<V>>}, call {@link
       * Multimaps#asMap(SetMultimap)} instead.
       */
      @Override
      Map<K, Collection<V>> asMap();
    
      /**
       * Compares the specified object to this multimap for equality.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 24 17:47:51 UTC 2022
    - 4.5K bytes
    - Viewed (0)
  9. testing/internal-integ-testing/src/main/groovy/org/gradle/integtests/fixtures/problems/ReceivedProblem.groovy

                    this.data = [:]
                } else {
                    def d = data.findAll { k, v -> v != null }
                    // GeneralData already contains asMap property; it is removed for clarity
                    if (d['asMap'] instanceof Map) {
                        this.data = d['asMap'] as Map<String, Object>
                    } else {
                        this.data = d
                    }
                }
            }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Jun 05 12:45:23 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/AbstractMultimapTester.java

        assertEqualIgnoringOrder(values, multimap().get(key));
    
        if (!values.isEmpty()) {
          assertEqualIgnoringOrder(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
    - 6K bytes
    - Viewed (0)
Back to top