Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 110 for mappings (0.2 sec)

  1. 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 =
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  2. 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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Aug 24 01:40:03 GMT 2023
    - 13.8K bytes
    - Viewed (0)
  3. 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
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  4. android/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
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Jun 15 21:08:00 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/RangeMap.java

    import com.google.errorprone.annotations.DoNotMock;
    import java.util.Collection;
    import java.util.Map;
    import java.util.Map.Entry;
    import java.util.NoSuchElementException;
    import javax.annotation.CheckForNull;
    
    /**
     * A mapping from disjoint nonempty ranges to non-null values. Queries look up the value associated
     * with the range (if any) that contains a specified key.
     *
     * <p>In contrast to {@link RangeSet}, no "coalescing" is done of {@linkplain
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 6.5K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/math/PairedStats.java

        }
        double xSumOfSquaresOfDeltas = xStats.sumOfSquaresOfDeltas();
        if (xSumOfSquaresOfDeltas > 0.0) {
          if (yStats.sumOfSquaresOfDeltas() > 0.0) {
            return LinearTransformation.mapping(xStats.mean(), yStats.mean())
                .withSlope(sumOfProductsOfDeltas / xSumOfSquaresOfDeltas);
          } else {
            return LinearTransformation.horizontal(yStats.mean());
          }
        } else {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 12.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableBiMap.java

      /**
       * Returns a {@link Collector} that accumulates elements into an {@code ImmutableBiMap} whose keys
       * and values are the result of applying the provided mapping functions to the input elements.
       * Entries appear in the result {@code ImmutableBiMap} in encounter order.
       *
       * <p>If the mapped keys or values contain duplicates (according to {@link
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  8. 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
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 17:02:53 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  9. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedMap.java

          // of the tail map.
          Entry<K, V> previousEntry = map.tailMap(key).entrySet().iterator().next();
          throw new IllegalArgumentException(
              "Duplicate keys in mappings "
                  + previousEntry.getKey()
                  + "="
                  + previousEntry.getValue()
                  + " and "
                  + key
                  + "="
                  + value);
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 16.4K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

       *
       * <p>Files are mapped from offset 0 to its length.
       *
       * <p>This only works for files ≤ {@link Integer#MAX_VALUE} bytes.
       *
       * @param file the file to map
       * @param mode the mode to use when mapping {@code file}
       * @return a buffer reflecting {@code file}
       * @throws FileNotFoundException if the {@code file} does not exist
       * @throws IOException if an I/O error occurs
       * @see FileChannel#map(MapMode, long, long)
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top