OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:putInstance
(Results
1 - 25
of
58
) sorted by null
1
2
3
/external/guava/guava-tests/test/com/google/common/reflect/
MutableTypeToInstanceMapTest.java
70
map.
putInstance
(entry.getKey(), entry.getValue());
110
map.
putInstance
(String.class, "test");
120
map.
putInstance
(String.class, "test");
132
map.
putInstance
(String.class, "test");
144
assertNull(map.
putInstance
(Integer.class, new Integer(5)));
146
Integer oldValue = map.
putInstance
(Integer.class, new Integer(7));
153
// Won't compile: map.
putInstance
(Double.class, new Long(42));
158
map.
putInstance
((TypeToken) null, new Integer(1));
162
map.
putInstance
(Integer.class, null);
166
map.
putInstance
(Long.class, null)
[
all
...]
/external/guava/guava/src/com/google/common/reflect/
TypeToInstanceMap.java
28
* {@link #
putInstance
} and {@link #getInstance} are available.
32
* {@link TypeToken}. Instead, caller should use the type safe {@link #
putInstance
}.
66
* <p>{@code
putInstance
(Foo.class, foo)} is equivalent to
67
* {@code
putInstance
(TypeToken.of(Foo.class), foo)}.
73
<T extends B> T
putInstance
(Class<T> type, @Nullable T value);
91
<T extends B> T
putInstance
(TypeToken<T> type, @Nullable T value);
ImmutableTypeToInstanceMap.java
113
@Override public <T extends B> T
putInstance
(TypeToken<T> type, T value) {
126
@Override public <T extends B> T
putInstance
(Class<T> type, T value) {
MutableTypeToInstanceMap.java
56
public <T extends B> T
putInstance
(Class<T> type, @Nullable T value) {
68
public <T extends B> T
putInstance
(TypeToken<T> type, @Nullable T value) {
72
/** Not supported. Use {@link #
putInstance
} instead. */
74
throw new UnsupportedOperationException("Please use
putInstance
() instead.");
77
/** Not supported. Use {@link #
putInstance
} instead. */
79
throw new UnsupportedOperationException("Please use
putInstance
() instead.");
/external/guava/guava-tests/test/com/google/common/collect/
MutableClassToInstanceMapTest.java
65
map.
putInstance
(entry.getKey(), entry.getValue());
110
assertNull(map.
putInstance
(Integer.class, new Integer(5)));
112
Integer oldValue = map.
putInstance
(Integer.class, new Integer(7));
118
// Won't compile: map.
putInstance
(Double.class, new Long(42));
127
map.
putInstance
(Integer.class, null);
140
assertNull(map.
putInstance
(int.class, 0));
141
assertNull(map.
putInstance
(Integer.class, 1));
147
assertEquals(0, (int) map.
putInstance
(int.class, null));
148
assertEquals(1, (int) map.
putInstance
(Integer.class, null));
/external/guava/guava/src/com/google/common/collect/
ClassToInstanceMap.java
29
* {@link #
putInstance
} and {@link #getInstance} are available.
65
<T extends B> T
putInstance
(Class<T> type, @Nullable T value);
MutableClassToInstanceMap.java
72
public <T extends B> T
putInstance
(Class<T> type, T value) {
ImmutableClassToInstanceMap.java
161
public <T extends B> T
putInstance
(Class<T> type, T value) {
/external/guava/guava-testlib/src/com/google/common/testing/
NullPointerTester.java
82
defaults.
putInstance
(type, checkNotNull(value));
ClassSanityTester.java
131
defaultValues.
putInstance
(type, value);
[
all
...]
/external/dagger2/lib/
google-java-format-0.1-20151017.042846-2.jar
/external/guice/lib/
guava-16.0.1.jar
/prebuilts/devtools/tools/lib/
guava-13.0.1.jar
guava-17.0.jar
/prebuilts/eclipse/maven/apache-maven-3.2.1/lib/
guava-14.0.1.jar
/prebuilts/misc/common/guava/
guava-15.0.jar
/prebuilts/tools/common/google-java-format/
google-java-format-1.0-all-deps.jar
/prebuilts/tools/common/gradle-plugins/repository/com/google/guava/guava/14.0/
guava-14.0.jar
/prebuilts/tools/common/guava-tools/
guava-13.0.1.jar
/prebuilts/tools/common/m2/repository/com/google/guava/guava/13.0.1/
guava-13.0.1.jar
/prebuilts/tools/common/m2/repository/com/google/guava/guava/15.0/
guava-15.0.jar
/prebuilts/tools/common/m2/repository/com/google/guava/guava/17.0/
guava-17.0.jar
/prebuilts/tools/common/m2/repository/com/google/guava/guava/18.0/
guava-18.0.jar
/prebuilts/tools/common/m2/repository/com/google/guava/guava/19.0/
guava-19.0.jar
/prebuilts/tools/common/m2/repository/com/google/guava/guava/19.0-rc2/
guava-19.0-rc2.jar
Completed in 593 milliseconds
1
2
3