Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 76 for mapping (1.06 sec)

  1. guava/src/com/google/common/math/LinearTransformation.java

       */
      public static LinearTransformationBuilder mapping(double x1, double y1) {
        checkArgument(isFinite(x1) && isFinite(y1));
        return new LinearTransformationBuilder(x1, y1);
      }
    
      /**
       * This is an intermediate stage in the construction process. It is returned by {@link
       * LinearTransformation#mapping}. You almost certainly don't want to keep instances around, but
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 9.6K 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. guava/src/com/google/common/escape/ArrayBasedCharEscaper.java

       * replacement mappings.
       *
       * <p>If a character has no mapped replacement then it is checked against the safe range. If it
       * lies outside that, then {@link #escapeUnsafe} is called, otherwise no escaping is performed.
       *
       * @param escaperMap the mapping of characters to be escaped
       * @param safeMin the lowest character value in the safe range
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 6.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/LinearTransformation.java

       */
      public static LinearTransformationBuilder mapping(double x1, double y1) {
        checkArgument(isFinite(x1) && isFinite(y1));
        return new LinearTransformationBuilder(x1, y1);
      }
    
      /**
       * This is an intermediate stage in the construction process. It is returned by {@link
       * LinearTransformation#mapping}. You almost certainly don't want to keep instances around, but
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 9.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/escape/CharEscaperBuilder.java

        }
      }
    
      // Replacement mappings.
      private final Map<Character, String> map;
    
      // The highest index we've seen so far.
      private int max = -1;
    
      /** Construct a new sparse array builder. */
      public CharEscaperBuilder() {
        this.map = new HashMap<>();
      }
    
      /** Add a new mapping from an index to an object to the escaping. */
      @CanIgnoreReturnValue
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/escape/ArrayBasedEscaperMap.java

     * ArrayBasedCharEscaper} or {@link ArrayBasedUnicodeEscaper} instances. This class should be used
     * when more than one escaper is created using the same character replacement mapping to allow the
     * underlying (implementation specific) data structures to be shared.
     *
     * <p>The size of the data structure used by ArrayBasedCharEscaper and ArrayBasedUnicodeEscaper is
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  8. android/guava-testlib/src/com/google/common/collect/testing/google/AbstractBiMapTester.java

          /*
           * TODO(cpovirk): This is a bit stronger than super.expectMissing(), which permits a <key,
           * someOtherValue> pair.
           */
          assertNull(
              "Inverse should not return a mapping for key " + reversed.getKey(),
              inv.get(reversed.getKey()));
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. guava/src/com/google/common/collect/EnumHashBiMap.java

      }
    
      /**
       * Constructs a new bimap with the same mappings as the specified map. If the specified map is an
       * {@code EnumHashBiMap} or an {@link EnumBiMap}, the new bimap has the same key type as the input
       * bimap. Otherwise, the specified map must contain at least one mapping, in order to determine
       * the key type.
       *
       * @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
    - 5.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/HashMultimap.java

          int expectedKeys, int expectedValuesPerKey) {
        return new HashMultimap<>(expectedKeys, expectedValuesPerKey);
      }
    
      /**
       * Constructs a {@code HashMultimap} 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.
       *
       * <p>This method will soon be deprecated in favor of {@code
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Mar 06 16:06:58 UTC 2023
    - 5.9K bytes
    - Viewed (0)
Back to top