- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 105 for Yu (0.36 sec)
-
android/guava/src/com/google/common/base/Throwables.java
* * <p>See the Guava User Guide entry on <a * href="https://github.com/google/guava/wiki/ThrowablesExplained">Throwables</a>. * * @author Kevin Bourrillion * @author Ben Yu * @since 1.0 */ @GwtCompatible(emulated = true) @ElementTypesAreNonnullByDefault public final class Throwables { private Throwables() {} /**
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Mar 06 15:38:58 GMT 2024 - 20.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/cache/RemovalNotificationTest.java
*/ package com.google.common.cache; import com.google.common.testing.EqualsTester; import junit.framework.TestCase; /** * Unit tests of {@link RemovalNotification}. * * @author Ben Yu */ public class RemovalNotificationTest extends TestCase { public void testEquals() { new EqualsTester() .addEqualityGroup( RemovalNotification.create("one", 1, RemovalCause.EXPLICIT),
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/RemovalNotificationTest.java
*/ package com.google.common.cache; import com.google.common.testing.EqualsTester; import junit.framework.TestCase; /** * Unit tests of {@link RemovalNotification}. * * @author Ben Yu */ public class RemovalNotificationTest extends TestCase { public void testEquals() { new EqualsTester() .addEqualityGroup( RemovalNotification.create("one", 1, RemovalCause.EXPLICIT),
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 1.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/ParameterTest.java
import com.google.common.testing.EqualsTester; import com.google.common.testing.NullPointerTester; import java.lang.reflect.Method; import junit.framework.TestCase; /** * Tests for {@link Parameter}. * * @author Ben Yu */ public class ParameterTest extends TestCase { public void testNulls() { try { Class.forName("java.lang.reflect.AnnotatedType"); } catch (ClassNotFoundException runningInAndroidVm) { /*
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Apr 06 02:06:03 GMT 2023 - 2K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
* used when the type mapping isn't implied by the static type hierarchy, but provided through other * means such as an annotation or external configuration file. * * @author Ben Yu * @since 15.0 */ @ElementTypesAreNonnullByDefault public final class TypeResolver { private final TypeTable typeTable; public TypeResolver() { this.typeTable = new TypeTable(); }
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-tests/test/com/google/common/reflect/TypesTest.java
import java.util.Arrays; import java.util.HashMap; import java.util.List; import java.util.Map; import java.util.Map.Entry; import junit.framework.TestCase; /** * Tests for {@link Types}. * * @author Ben Yu */ @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations? public class TypesTest extends TestCase { public void testNewParameterizedType_ownerTypeImplied() throws Exception {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 22 17:15:24 GMT 2024 - 14.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FreshValueGenerator.java
import javax.annotation.CheckForNull; import org.checkerframework.checker.nullness.qual.Nullable; /** * Generates fresh instances of types that are different from each other (if possible). * * @author Ben Yu */ @GwtIncompatible @J2ktIncompatible class FreshValueGenerator { private static final ImmutableMap<Class<?>, Method> GENERATORS; static {
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/reflect/TypeToInstanceMap.java
* and a primitive type and its corresponding wrapper type may map to different values. * * @param <B> the common supertype that all entries must share; often this is simply {@link Object} * @author Ben Yu * @since 13.0 */ @DoNotMock("Use ImmutableTypeToInstanceMap or MutableTypeToInstanceMap") @ElementTypesAreNonnullByDefault public interface TypeToInstanceMap<B extends @Nullable Object>
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Sat Apr 22 01:15:23 GMT 2023 - 3.8K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeParameter.java
* * <pre>{@code * static <T> TypeToken<List<T>> listOf(Class<T> elementType) { * return new TypeToken<List<T>>() {} * .where(new TypeParameter<T>() {}, elementType); * } * }</pre> * * @author Ben Yu * @since 12.0 */ @ElementTypesAreNonnullByDefault /* * A nullable bound would let users create a TypeParameter instance for a parameter with a nullable
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jan 05 17:43:40 GMT 2022 - 2.5K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeVisitorTest.java
import java.lang.reflect.WildcardType; import java.util.ArrayList; import java.util.EnumSet; import junit.framework.TestCase; /** * Tests of {@link TypeVisitor}. * * @author Ben Yu */ public class TypeVisitorTest extends TestCase { public void testVisitNull() { new BaseTypeVisitor() .visit(((ParameterizedType) ArrayList.class.getGenericSuperclass()).getOwnerType()); }
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 3.7K bytes - Viewed (0)