Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for asConverter (0.07 sec)

  1. android/guava/src/com/google/common/base/Converter.java

     *       #reverse reverse} views of these.
     *   <li>Convert between specific preset values using {@link
     *       com.google.common.collect.Maps#asConverter Maps.asConverter}. For example, use this to
     *       create a "fake" converter for a unit test. It is unnecessary (and confusing) to <i>mock</i>
     *       the {@code Converter} type using a mocking framework.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 15 16:12:13 UTC 2024
    - 23K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Maps.java

       * com.google.common.base.Functions#forMap(Map)} or {@link
       * com.google.common.base.Functions#forMap(Map, Object)}.
       *
       * @since 16.0
       */
      public static <A, B> Converter<A, B> asConverter(final BiMap<A, B> bimap) {
        return new BiMapConverter<>(bimap);
      }
    
      private static final class BiMapConverter<A, B> extends Converter<A, B> implements Serializable {
        private final BiMap<A, B> bimap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 161.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Maps.java

       * com.google.common.base.Functions#forMap(Map)} or {@link
       * com.google.common.base.Functions#forMap(Map, Object)}.
       *
       * @since 16.0
       */
      public static <A, B> Converter<A, B> asConverter(final BiMap<A, B> bimap) {
        return new BiMapConverter<>(bimap);
      }
    
      private static final class BiMapConverter<A, B> extends Converter<A, B> implements Serializable {
        private final BiMap<A, B> bimap;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 167.4K bytes
    - Viewed (0)
Back to top