Home
last modified time | relevance | path

Searched refs:putInstance (Results 1 – 18 of 18) sorted by relevance

/external/guava/guava-tests/test/com/google/common/reflect/
DMutableTypeToInstanceMapTest.java70 map.putInstance(entry.getKey(), entry.getValue()); in suite()
110 map.putInstance(String.class, "test"); in testEntrySetMutationThrows()
120 map.putInstance(String.class, "test"); in testEntrySetToArrayMutationThrows()
132 map.putInstance(String.class, "test"); in testEntrySetToTypedArrayMutationThrows()
144 assertNull(map.putInstance(Integer.class, new Integer(5))); in testPutAndGetInstance()
146 Integer oldValue = map.putInstance(Integer.class, new Integer(7)); in testPutAndGetInstance()
158 map.putInstance((TypeToken) null, new Integer(1)); in testNull()
162 map.putInstance(Integer.class, null); in testNull()
166 map.putInstance(Long.class, null); in testNull()
175 assertNull(map.putInstance(int.class, 0)); in testPrimitiveAndWrapper()
[all …]
/external/guava/guava-tests/test/com/google/common/collect/
DMutableClassToInstanceMapTest.java65 map.putInstance(entry.getKey(), entry.getValue()); in suite()
110 assertNull(map.putInstance(Integer.class, new Integer(5))); in testPutAndGetInstance()
112 Integer oldValue = map.putInstance(Integer.class, new Integer(7)); in testPutAndGetInstance()
127 map.putInstance(Integer.class, null); in testNull()
140 assertNull(map.putInstance(int.class, 0)); in testPrimitiveAndWrapper()
141 assertNull(map.putInstance(Integer.class, 1)); in testPrimitiveAndWrapper()
147 assertEquals(0, (int) map.putInstance(int.class, null)); in testPrimitiveAndWrapper()
148 assertEquals(1, (int) map.putInstance(Integer.class, null)); in testPrimitiveAndWrapper()
/external/guava/guava/src/com/google/common/reflect/
DTypeToInstanceMap.java73 <T extends B> T putInstance(Class<T> type, @Nullable T value); in putInstance() method
91 <T extends B> T putInstance(TypeToken<T> type, @Nullable T value); in putInstance() method
DImmutableTypeToInstanceMap.java113 @Override public <T extends B> T putInstance(TypeToken<T> type, T value) { in putInstance() method in ImmutableTypeToInstanceMap
126 @Override public <T extends B> T putInstance(Class<T> type, T value) { in putInstance() method in ImmutableTypeToInstanceMap
DMutableTypeToInstanceMap.java56 public <T extends B> T putInstance(Class<T> type, @Nullable T value) { in putInstance() method in MutableTypeToInstanceMap
68 public <T extends B> T putInstance(TypeToken<T> type, @Nullable T value) { in putInstance() method in MutableTypeToInstanceMap
/external/guava/guava/src/com/google/common/collect/
DClassToInstanceMap.java65 <T extends B> T putInstance(Class<T> type, @Nullable T value); in putInstance() method
DMutableClassToInstanceMap.java72 public <T extends B> T putInstance(Class<T> type, T value) { in putInstance() method in MutableClassToInstanceMap
DImmutableClassToInstanceMap.java161 public <T extends B> T putInstance(Class<T> type, T value) { in putInstance() method in ImmutableClassToInstanceMap
/external/guava/guava-testlib/src/com/google/common/testing/
DNullPointerTester.java82 defaults.putInstance(type, checkNotNull(value)); in setDefault()
DClassSanityTester.java131 defaultValues.putInstance(type, value); in setDefault()
/external/guice/lib/
Dguava-19.0.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/cldr/tools/java/libs/
Dguava.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/external/owasp/sanitizer/distrib/lib/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/owasp/sanitizer/lib/guava-libraries/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/external/testng/ant/3rdparty/
Ddoclava-1.0.3.jarMETA-INF/MANIFEST.MF assets/html/index.html assets/templates/data ...
/external/conscrypt/benchmark-android/
Dvogar.jarMETA-INF/ META-INF/MANIFEST.MF vogar/ vogar/TestProperties.class TestProperties ...
/external/error_prone/error_prone/
Derror_prone_core-2.3.2-with-dependencies.jarMETA-INF/ META-INF/MANIFEST.MF META-INF/services/ META- ...
/external/dagger2/lib/
Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...