Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 141 for asMap (0.03 sec)

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

        BiPredicate<ImmutableListMultimap<?, ?>, ImmutableListMultimap<?, ?>> equivalence =
            Equivalence.equals()
                .onResultOf((ImmutableListMultimap<?, ?> mm) -> mm.asMap().entrySet().asList())
                .and(Equivalence.equals());
        CollectorTester.of(collector, equivalence)
            .expectCollects(ImmutableListMultimap.of())
            .expectCollects(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/Cache.java

       * concurrent use, but if the cache is modified (including by eviction) after the iterator is
       * created, it is undefined which of the changes (if any) will be reflected in that iterator.
       */
      ConcurrentMap<K, V> asMap();
    
      /**
       * Performs any pending maintenance operations needed by the cache. Exactly which activities are
       * performed -- if any -- is implementation-dependent.
       */
      void cleanUp();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 7.9K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/Synchronized.java

            }
            return entries;
          }
        }
    
        @Override
        public Map<K, Collection<V>> asMap() {
          synchronized (mutex) {
            if (asMap == null) {
              asMap = new SynchronizedAsMap<>(delegate().asMap(), mutex);
            }
            return asMap;
          }
        }
    
        @Override
        public Multiset<K> keys() {
          synchronized (mutex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53.4K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/Synchronized.java

            delegate().forEach(action);
          }
        }
    
        @Override
        public Map<K, Collection<V>> asMap() {
          synchronized (mutex) {
            if (asMap == null) {
              asMap = new SynchronizedAsMap<>(delegate().asMap(), mutex);
            }
            return asMap;
          }
        }
    
        @Override
        public Multiset<K> keys() {
          synchronized (mutex) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 57.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/AbstractCache.java

        throw new UnsupportedOperationException();
      }
    
      @Override
      public CacheStats stats() {
        throw new UnsupportedOperationException();
      }
    
      @Override
      public ConcurrentMap<K, V> asMap() {
        throw new UnsupportedOperationException();
      }
    
      /**
       * Accumulates statistics during the operation of a {@link Cache} for presentation by {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 18:00:07 UTC 2021
    - 9.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableMultimap.java

        }
    
        /**
         * Stores another multimap's entries in the built multimap. The generated multimap's key and
         * value orderings correspond to the iteration ordering of the {@code multimap.asMap()} view,
         * with new keys and values following any existing keys and values.
         *
         * @throws NullPointerException if any key or value in {@code multimap} is null. The builder is
         *     left in an invalid state.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27.9K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

          return asMap(backingSet().subSet(fromKey, toKey), function);
        }
    
        @Override
        public SortedMap<K, V> headMap(@ParametricNullness K toKey) {
          return asMap(backingSet().headSet(toKey), function);
        }
    
        @Override
        public SortedMap<K, V> tailMap(@ParametricNullness K fromKey) {
          return asMap(backingSet().tailSet(fromKey), function);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/Maps.java

          return asMap(backingSet().subSet(fromKey, toKey), function);
        }
    
        @Override
        public SortedMap<K, V> headMap(@ParametricNullness K toKey) {
          return asMap(backingSet().headSet(toKey), function);
        }
    
        @Override
        public SortedMap<K, V> tailMap(@ParametricNullness K fromKey) {
          return asMap(backingSet().tailSet(fromKey), function);
        }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
  9. guava/src/com/google/common/graph/ImmutableGraph.java

        return graph.isDirected()
            ? DirectedGraphConnections.ofImmutable(node, graph.incidentEdges(node), edgeValueFn)
            : UndirectedGraphConnections.ofImmutable(
                Maps.asMap(graph.adjacentNodes(node), edgeValueFn));
      }
    
      @Override
      BaseGraph<N> delegate() {
        return backingGraph;
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Feb 01 16:30:37 UTC 2022
    - 7.1K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/LinkedHashMultimap.java

     * returns collections whose iterators follow the ordering in which the data was added to the
     * multimap.
     *
     * <p>The collections returned by {@code keySet}, {@code keys}, and {@code asMap} iterate through
     * the keys in the order they were first added to the multimap. Similarly, {@code get}, {@code
     * removeAll}, and {@code replaceValues} return collections that iterate through the values in the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top