- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for TypeToken (0.1 sec)
-
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 21 21:13:09 UTC 2024 - 89.1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
extends ForwardingMap<TypeToken<? extends @NonNull B>, B> implements TypeToInstanceMap<B> { private final Map<TypeToken<? extends @NonNull B>, B> backingMap = Maps.newHashMap(); @Override @CheckForNull public <T extends @NonNull B> T getInstance(Class<T> type) { return trustedGet(TypeToken.of(type)); } @Override @CheckForNull
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 17:55:55 UTC 2024 - 5.8K bytes - Viewed (0) -
guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java
extends ForwardingMap<TypeToken<? extends @NonNull B>, B> implements TypeToInstanceMap<B> { private final Map<TypeToken<? extends @NonNull B>, B> backingMap = Maps.newHashMap(); @Override @CheckForNull public <T extends @NonNull B> T getInstance(Class<T> type) { return trustedGet(TypeToken.of(type)); } @Override @CheckForNull
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Jun 14 17:55:55 UTC 2024 - 5.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/InvokableTest.java
Invokable<?, Iterable<String>> delegate = Prepender.method("prepend", String.class, Iterable.class) .returning(new TypeToken<Iterable<String>>() {}); assertEquals(new TypeToken<Iterable<String>>() {}, delegate.getReturnType()); Iterable<String> result = delegate.invoke(null, "a", ImmutableList.of("b", "c"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 30.7K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/InvokableTest.java
Invokable<?, Iterable<String>> delegate = Prepender.method("prepend", String.class, Iterable.class) .returning(new TypeToken<Iterable<String>>() {}); assertEquals(new TypeToken<Iterable<String>>() {}, delegate.getReturnType()); Iterable<String> result = delegate.invoke(null, "a", ImmutableList.of("b", "c"));
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Oct 17 13:00:28 UTC 2024 - 30.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
return defaultClass; } if (type.getRawType() == TypeToken.class) { // If parameter is TypeToken<? extends Foo>, we return TypeToken<Foo>. @SuppressWarnings("unchecked") T defaultType = (T) getFirstTypeParameter(type.getType()); return defaultType; } if (type.getRawType() == Converter.class) { TypeToken<?> convertFromType = type.resolveType(Converter.class.getTypeParameters()[0]);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 22.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/NullPointerTester.java
return defaultClass; } if (type.getRawType() == TypeToken.class) { // If parameter is TypeToken<? extends Foo>, we return TypeToken<Foo>. @SuppressWarnings("unchecked") T defaultType = (T) getFirstTypeParameter(type.getType()); return defaultType; } if (type.getRawType() == Converter.class) { TypeToken<?> convertFromType = type.resolveType(Converter.class.getTypeParameters()[0]);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jun 11 16:13:05 UTC 2024 - 23.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/WriteReplaceOverridesTest.java
// This is a class whose supertypes we want to examine. We'll do that below. } Optional<Class<?>> supersWithPackagePrivateWriteReplace = FluentIterable.from(TypeToken.of(clazz).getTypes()) .transform(TypeToken::getRawType) .transformAndConcat(c -> asList(c.getDeclaredMethods())) .firstMatch( m -> m.getName().equals("writeReplace")
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Jul 24 18:53:31 UTC 2024 - 5.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/AcceptedApiChanges.groovy
* See the License for the specific language governing permissions and * limitations under the License. */ package gradlebuild.binarycompatibility import com.google.gson.Gson import com.google.gson.reflect.TypeToken import org.gradle.util.GradleVersion class AcceptedApiChanges { GradleVersion baseVersion Map<ApiChange, String> acceptedChanges static AcceptedApiChanges parse(List<String> jsonTexts) {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Jun 04 14:00:46 UTC 2024 - 1.9K bytes - Viewed (0)