Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 76 for mapping (1.15 sec)

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

        extends AbstractSetMultimap<K, V> implements SortedSetMultimap<K, V> {
      /**
       * Creates a new multimap that uses the provided map.
       *
       * @param map place to store the mapping from each key to its corresponding values
       */
      protected AbstractSortedSetMultimap(Map<K, Collection<V>> map) {
        super(map);
      }
    
      @Override
      abstract SortedSet<V> createCollection();
    
      @Override
    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. android/guava-tests/test/com/google/common/util/concurrent/FluentFutureTest.java

              }
    
              @Override
              public void onFailure(Throwable t) {}
            },
            directExecutor());
        assertThat(called[0]).isTrue();
      }
    
      // Avoid trouble with automatic mapping between JRE and Kotlin runtime classes.
      static class CustomRuntimeException extends RuntimeException {}
    
      public void testCatching() throws Exception {
        FluentFuture<?> f =
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/collect/testing/google/BiMapPutTester.java

      @CollectionSize.Require(ZERO)
      public void testPutPresentKeyDifferentValue() {
        getMap().put(k0(), v0());
        getMap().put(k0(), v1());
        // verify that the bimap is changed, and that the old inverse mapping
        // from v1 -> v0 is deleted
        expectContents(Helpers.mapEntry(k0(), v1()));
      }
    
      @MapFeature.Require(SUPPORTS_PUT)
      @CollectionSize.Require(ZERO)
      public void putDistinctKeysDistinctValues() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 20 17:00:05 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/AbstractListMultimap.java

        extends AbstractMapBasedMultimap<K, V> implements ListMultimap<K, V> {
      /**
       * Creates a new multimap that uses the provided map.
       *
       * @param map place to store the mapping from each key to its corresponding values
       */
      protected AbstractListMultimap(Map<K, Collection<V>> map) {
        super(map);
      }
    
      @Override
      abstract List<V> createCollection();
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 4.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/EnumBiMap.java

      }
    
      /**
       * Returns a new bimap with the same mappings as the specified map. If the specified map is an
       * {@code EnumBiMap}, the new bimap has the same types as the provided map. Otherwise, the
       * specified map must contain at least one mapping, in order to determine the key and value types.
       *
       * @param map the map whose mappings are to be placed in this map
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/EnumBiMap.java

      }
    
      /**
       * Returns a new bimap with the same mappings as the specified map. If the specified map is an
       * {@code EnumBiMap}, the new bimap has the same types as the provided map. Otherwise, the
       * specified map must contain at least one mapping, in order to determine the key and value types.
       *
       * @param map the map whose mappings are to be placed in this map
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

        extends AbstractMapBasedMultimap<K, V> implements SetMultimap<K, V> {
      /**
       * Creates a new multimap that uses the provided map.
       *
       * @param map place to store the mapping from each key to its corresponding values
       */
      protected AbstractSetMultimap(Map<K, Collection<V>> map) {
        super(map);
      }
    
      @Override
      abstract Set<V> createCollection();
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/AbstractSetMultimap.java

        extends AbstractMapBasedMultimap<K, V> implements SetMultimap<K, V> {
      /**
       * Creates a new multimap that uses the provided map.
       *
       * @param map place to store the mapping from each key to its corresponding values
       */
      protected AbstractSetMultimap(Map<K, Collection<V>> map) {
        super(map);
      }
    
      @Override
      abstract Set<V> createCollection();
    
      @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 4.8K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/BiMap.java

      /**
       * An alternate form of {@code put} that silently removes any existing entry with the value {@code
       * value} before proceeding with the {@link #put} operation. If the bimap previously contained the
       * provided key-value mapping, this method has no effect.
       *
       * <p>Note that a successful call to this method could cause the size of the bimap to increase by
       * one, stay the same, or even decrease by one.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  10. guava/src/com/google/common/cache/Cache.java

       *
       * @since 11.0
       */
      void put(K key, V value);
    
      /**
       * Copies all of the mappings from the specified map to the cache. The effect of this call is
       * equivalent to that of calling {@code put(k, v)} on this map once for each mapping from key
       * {@code k} to value {@code v} in the specified map. The behavior of this operation is undefined
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sun Aug 07 02:38:22 UTC 2022
    - 7.9K bytes
    - Viewed (0)
Back to top