Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for Converter (0.29 sec)

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

        Converter<String, Integer> converter = Maps.asConverter(biMap);
        assertNull(converter.convert(null));
        assertNull(converter.reverse().convert(null));
      }
    
      public void testAsConverter_isAView() throws Exception {
        BiMap<String, Integer> biMap = HashBiMap.create();
        biMap.put("one", 1);
        biMap.put("two", 2);
        Converter<String, Integer> converter = Maps.asConverter(biMap);
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/collect/MapsTest.java

        Converter<String, Integer> converter = Maps.asConverter(biMap);
        assertNull(converter.convert(null));
        assertNull(converter.reverse().convert(null));
      }
    
      public void testAsConverter_isAView() throws Exception {
        BiMap<String, Integer> biMap = HashBiMap.create();
        biMap.put("one", 1);
        biMap.put("two", 2);
        Converter<String, Integer> converter = Maps.asConverter(biMap);
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Preconditions.java

       * Ensures the truth of an expression involving one or more parameters to the calling method.
       *
       * @param expression a boolean expression
       * @param errorMessage the exception message to use if the check fails; will be converted to a
       *     string using {@link String#valueOf(Object)}
       * @throws IllegalArgumentException if {@code expression} is false
       */
      public static void checkArgument(boolean expression, @CheckForNull Object errorMessage) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Apr 11 11:52:14 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/cache/CacheBuilder.java

     * com.google.common.util.concurrent.ListenableFuture} can adapt between the two {@code Future}
     * types by using <a href="https://github.com/lukas-krecan/future-converter#java8-guava">{@code
     * net.javacrumbs.futureconverter.java8guava.FutureConverter}</a>.
     *
     * <h2>More on {@code CacheBuilder}</h2>
     *
     * {@code CacheBuilder} builds caches with any combination of the following features:
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Preconditions.java

       * Ensures the truth of an expression involving one or more parameters to the calling method.
       *
       * @param expression a boolean expression
       * @param errorMessage the exception message to use if the check fails; will be converted to a
       *     string using {@link String#valueOf(Object)}
       * @throws IllegalArgumentException if {@code expression} is false
       */
      public static void checkArgument(boolean expression, @CheckForNull Object errorMessage) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
Back to top