Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 223 for mapping (0.98 sec)

  1. 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)
  2. android/guava-tests/test/com/google/common/math/LinearTransformationTest.java

      }
    
      public void testMapping_nanX1() {
        assertThrows(
            IllegalArgumentException.class, () -> LinearTransformation.mapping(Double.NaN, 3.4));
      }
    
      public void testMapping_nanY1() {
        assertThrows(
            IllegalArgumentException.class, () -> LinearTransformation.mapping(1.2, Double.NaN));
      }
    
      public void testMappingAnd_nanX2() {
        assertThrows(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/math/LinearTransformationTest.java

      }
    
      public void testMapping_nanX1() {
        assertThrows(
            IllegalArgumentException.class, () -> LinearTransformation.mapping(Double.NaN, 3.4));
      }
    
      public void testMapping_nanY1() {
        assertThrows(
            IllegalArgumentException.class, () -> LinearTransformation.mapping(1.2, Double.NaN));
      }
    
      public void testMappingAnd_nanX2() {
        assertThrows(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 7.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Striped64.java

       * The table size is capped because, when there are more threads
       * than CPUs, supposing that each thread were bound to a CPU,
       * there would exist a perfect hash function mapping threads to
       * slots that eliminates collisions. When we reach capacity, we
       * search for this mapping by randomly varying the hash codes of
       * colliding threads.  Because search is random, and collisions
       * only become known via CAS failures, convergence can be slow,
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/AbstractBiMap.java

          }
    
          Entry<?, ?> entry = (Entry<?, ?>) object;
          inverse.delegate.remove(entry.getValue());
          /*
           * Remove the mapping in inverse before removing from esDelegate because
           * if entry is part of esDelegate, entry might be invalidated after the
           * mapping is removed from esDelegate.
           */
          esDelegate.remove(entry);
          return true;
        }
    
        @Override
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Aug 24 01:40:03 UTC 2023
    - 13.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ArrayTable.java

       * serialization and deserialization.
       */
    
      /**
       * Creates an {@code ArrayTable} with the mappings in the provided table.
       *
       * <p>If {@code table} includes a mapping with row key {@code r} and a separate mapping with
       * column key {@code c}, the returned table contains a mapping with row key {@code r} and column
       * key {@code c}. If that row key / column key pair in not in {@code table}, the pair maps to
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 26.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. android/guava/src/com/google/common/collect/LinkedHashMultimap.java

      }
    
      /**
       * Constructs a {@code LinkedHashMultimap} with the same mappings as the specified multimap. If a
       * key-value mapping appears multiple times in the input multimap, it only appears once in the
       * constructed multimap. The new multimap has the same {@link Multimap#entries()} iteration order
       * as the input multimap, except for excluding duplicate mappings.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/LinkedHashMultimap.java

      }
    
      /**
       * Constructs a {@code LinkedHashMultimap} with the same mappings as the specified multimap. If a
       * key-value mapping appears multiple times in the input multimap, it only appears once in the
       * constructed multimap. The new multimap has the same {@link Multimap#entries()} iteration order
       * as the input multimap, except for excluding duplicate mappings.
       *
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
Back to top