- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 566 for type (0.17 sec)
-
android/guava/src/com/google/common/reflect/Types.java
CURRENT = JAVA6; } } abstract Type newArrayType(Type componentType); abstract Type usedInGenericType(Type type); final ImmutableList<Type> usedInGenericType(Type[] types) { ImmutableList.Builder<Type> builder = ImmutableList.builder(); for (Type type : types) { builder.add(usedInGenericType(type)); } return builder.build(); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 23.1K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
} Type[] resolveTypesInPlace(Type[] types) { for (int i = 0; i < types.length; i++) { types[i] = resolveType(types[i]); } return types; } private Type[] resolveTypes(Type[] types) { Type[] result = new Type[types.length]; for (int i = 0; i < types.length; i++) { result[i] = resolveType(types[i]); } return result; }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Mon Oct 10 19:45:10 GMT 2022 - 24.2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/ImmutableTypeToInstanceMap.java
this.delegate = delegate; } @Override @CheckForNull public <T extends B> T getInstance(TypeToken<T> type) { return trustedGet(type.rejectTypeVariables()); } @Override @CheckForNull public <T extends B> T getInstance(Class<T> type) { return trustedGet(TypeToken.of(type)); } /** * Guaranteed to throw an exception and leave the map unmodified. *
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Tue Feb 01 20:46:24 GMT 2022 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
* input of type {@code C}. * * <p>The default implementation throws {@code NoSuchElementException}. * * @return the minimum value of type {@code C}; never null * @throws NoSuchElementException if the type has no (practical) minimum value; for example, * {@link java.math.BigInteger} */ @CanIgnoreReturnValue public C minValue() {
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 21:19:52 GMT 2024 - 10.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
} private static String paramString(Class<?> type, int i) { return type.getSimpleName() + '@' + i; } /** * Annotates a method to be the instance generator of a certain type. The return type is the * generated type. The method parameters correspond to the generated type's type parameters. For
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 28K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/NullnessCasts.java
* that conversion is safe. * * <p>This method is intended to help with usages of type parameters that have {@linkplain * ParametricNullness parametric nullness}. If a type parameter instead ranges over only non-null * types (or if the type is a non-variable type, like {@code String}), then code should almost * never use this method, preferring instead to call {@code requireNonNull} so as to benefit from
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Thu Feb 10 20:36:34 GMT 2022 - 3.9K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java
} public void testParameterizedType() { TypeToken<ImmutableList<Integer>> type = new TypeToken<ImmutableList<Integer>>() {}; ImmutableTypeToInstanceMap<Iterable<?>> map = ImmutableTypeToInstanceMap.<Iterable<?>>builder().put(type, ImmutableList.of(1)).build(); assertEquals(1, map.size()); assertEquals(ImmutableList.of(1), map.getInstance(type)); } public void testGenericArrayType() {
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 6.8K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/AndroidIncompatible.java
*/ package com.google.common.primitives; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.CLASS; import com.google.common.annotations.GwtCompatible;
Java - Registered: Fri Apr 12 12:43:09 GMT 2024 - Last Modified: Thu Sep 15 13:47:32 GMT 2016 - 1.6K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/AndroidIncompatible.java
*/ package com.google.common.testing; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.CLASS; import com.google.common.annotations.GwtCompatible;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Sep 15 13:47:32 GMT 2016 - 1.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/AndroidIncompatible.java
*/ package com.google.common.cache; import static java.lang.annotation.ElementType.ANNOTATION_TYPE; import static java.lang.annotation.ElementType.CONSTRUCTOR; import static java.lang.annotation.ElementType.FIELD; import static java.lang.annotation.ElementType.METHOD; import static java.lang.annotation.ElementType.TYPE; import static java.lang.annotation.RetentionPolicy.CLASS; import com.google.common.annotations.GwtCompatible;
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Sep 15 13:47:32 GMT 2016 - 1.6K bytes - Viewed (0)