Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for MutableClassToInstanceMap (0.29 sec)

  1. android/guava/src/com/google/common/collect/MutableClassToInstanceMap.java

        return new MutableClassToInstanceMap<>(new HashMap<Class<? extends @NonNull B>, B>());
      }
    
      /**
       * Returns a new {@code MutableClassToInstanceMap} instance backed by a given empty {@code
       * backingMap}. The caller surrenders control of the backing map, and thus should not allow any
       * direct references to it to remain accessible.
       */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
                      public Map<Class, Impl> create(Object... elements) {
                        MutableClassToInstanceMap<Impl> map = MutableClassToInstanceMap.create();
                        for (Object object : elements) {
                          Entry<Class, Impl> entry = (Entry<Class, Impl>) object;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/collect/MutableClassToInstanceMapTest.java

                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
                      public Map<Class, Impl> create(Object... elements) {
                        MutableClassToInstanceMap<Impl> map = MutableClassToInstanceMap.create();
                        for (Object object : elements) {
                          Entry<Class, Impl> entry = (Entry<Class, Impl>) object;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ClassToInstanceMap.java

     * and a primitive type and its corresponding wrapper type may map to different values.
     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableClassToInstanceMap}
     *   <li>{@link MutableClassToInstanceMap}
     * </ul>
     *
     * <p>To map a generic type to an instance of that type, use {@link
     * com.google.common.reflect.TypeToInstanceMap} instead.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/ClassToInstanceMap.java

     * and a primitive type and its corresponding wrapper type may map to different values.
     *
     * <h3>Implementations</h3>
     *
     * <ul>
     *   <li>{@link ImmutableClassToInstanceMap}
     *   <li>{@link MutableClassToInstanceMap}
     * </ul>
     *
     * <p>To map a generic type to an instance of that type, use {@link
     * com.google.common.reflect.TypeToInstanceMap} instead.
     *
     * <p>See the Guava User Guide article on <a href=
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Sat Jun 17 14:40:53 GMT 2023
    - 3K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              return Ints.compare(left.getParameters().size(), right.getParameters().size());
            }
          };
    
      private final MutableClassToInstanceMap<Object> defaultValues =
          MutableClassToInstanceMap.create();
      private final ListMultimap<Class<?>, Object> distinctValues = ArrayListMultimap.create();
      private final NullPointerTester nullPointerTester = new NullPointerTester();
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

              return Ints.compare(left.getParameters().size(), right.getParameters().size());
            }
          };
    
      private final MutableClassToInstanceMap<Object> defaultValues =
          MutableClassToInstanceMap.create();
      private final ListMultimap<Class<?>, Object> distinctValues = ArrayListMultimap.create();
      private final NullPointerTester nullPointerTester = new NullPointerTester();
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  8. guava-testlib/src/com/google/common/testing/NullPointerTester.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Maps;
    import com.google.common.collect.MutableClassToInstanceMap;
    import com.google.common.reflect.Invokable;
    import com.google.common.reflect.Parameter;
    import com.google.common.reflect.Reflection;
    import com.google.common.reflect.TypeToken;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 23.3K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

    import com.google.common.collect.ImmutableList;
    import com.google.common.collect.ImmutableSet;
    import com.google.common.collect.Lists;
    import com.google.common.collect.Maps;
    import com.google.common.collect.MutableClassToInstanceMap;
    import com.google.common.reflect.Invokable;
    import com.google.common.reflect.Parameter;
    import com.google.common.reflect.Reflection;
    import com.google.common.reflect.TypeToken;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
Back to top