Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 141 for asMap (0.04 sec)

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

      public Predicate<? super Entry<K, V>> entryPredicate() {
        return Maps.keyPredicateOnEntries(keyPredicate);
      }
    
      @Override
      public int size() {
        int size = 0;
        for (Collection<V> collection : asMap().values()) {
          size += collection.size();
        }
        return size;
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        if (unfiltered.containsKey(key)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/entity/DataStoreParams.java

            params.putAll(map);
        }
    
        public boolean containsKey(final String key) {
            return params.containsKey(key);
        }
    
        public Map<String, Object> asMap() {
            return new ParamMap<>(new HashMap<>(getDataMap(params)));
        }
    
        protected static Map<String, Object> getDataMap(final Map<String, Object> params) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/cache/CacheBuilder.java

       * access. Access time is reset by all cache read and write operations (including {@code
       * Cache.asMap().get(Object)} and {@code Cache.asMap().put(K, V)}), but not by {@code
       * containsKey(Object)}, nor by operations on the collection-views of {@link Cache#asMap}}. So,
       * for example, iterating through {@code Cache.asMap().entrySet()} does not reset access time for
       * the entries you retrieve.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MultimapBuilder.java

       * <p>The collections returned by {@link Multimap#keySet()}, {@link Multimap#keys()}, and {@link
       * Multimap#asMap()} will iterate through the keys in sorted order.
       *
       * <p>For all multimaps generated by the resulting builder, the {@link Multimap#keySet()} can be
       * safely cast to a {@link java.util.SortedSet}, and the {@link Multimap#asMap()} can safely be
       * cast to a {@link java.util.SortedMap}.
       */
      @SuppressWarnings("rawtypes")
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  5. android/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: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/ForwardingCache.java

      public long size() {
        return delegate().size();
      }
    
      @Override
      public CacheStats stats() {
        return delegate().stats();
      }
    
      @Override
      public ConcurrentMap<K, V> asMap() {
        return delegate().asMap();
      }
    
      @Override
      public void cleanUp() {
        delegate().cleanUp();
      }
    
      /**
       * A simplified version of {@link ForwardingCache} where subclasses can pass in an already
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 3.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapTestSuiteBuilder.java

            MapTestSuiteBuilder.using(new AsMapGenerator<K, V, M>(parentBuilder.getSubjectGenerator()))
                .withFeatures(computeAsMapFeatures(parentBuilder.getFeatures()))
                .named(parentBuilder.getName() + ".asMap")
                .suppressing(parentBuilder.getSuppressedTests())
                .withSetUp(parentBuilder.getSetUp())
                .withTearDown(parentBuilder.getTearDown())
                .createTestSuite());
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapEqualsTester.java

        new EqualsTester()
            .addEqualityGroup(multimap())
            .addEqualityGroup(getSubjectGenerator().create())
            .testEquals();
      }
    
      public void testHashCodeMatchesAsMap() {
        assertEquals(multimap().asMap().hashCode(), multimap().hashCode());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        List<K> keys = copyToList(multimap().keySet());
        for (K key : keys) {
          resetContainer();
    
          int size = getNumElements();
    
          Collection<V> collection = multimap().asMap().get(key);
          assertNotNull(collection);
          Collection<V> expectedCollection = copyToList(collection);
    
          multimap().put(key, v3());
          expectedCollection.add(v3());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/google/MultimapPutTester.java

        List<K> keys = copyToList(multimap().keySet());
        for (K key : keys) {
          resetContainer();
    
          int size = getNumElements();
    
          Collection<V> collection = multimap().asMap().get(key);
          assertNotNull(collection);
          Collection<V> expectedCollection = copyToList(collection);
    
          multimap().put(key, v3());
          expectedCollection.add(v3());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.2K bytes
    - Viewed (0)
Back to top