- Sort Score
- Result 10 results
- Languages All
Results 81 - 90 of 113 for Yu (0.16 sec)
-
guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
* number types; reasonable default instance for other stateless types. For mutable types, a fresh * instance is created each time {@code get()} is called. * * @author Kevin Bourrillion * @author Ben Yu * @since 12.0 */ @GwtIncompatible @J2ktIncompatible @ElementTypesAreNonnullByDefault public final class ArbitraryInstances { private static final Ordering<Field> BY_FIELD_NAME =
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 21K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
* number types; reasonable default instance for other stateless types. For mutable types, a fresh * instance is created each time {@code get()} is called. * * @author Kevin Bourrillion * @author Ben Yu * @since 12.0 */ @GwtIncompatible @J2ktIncompatible @ElementTypesAreNonnullByDefault public final class ArbitraryInstances { private static final Ordering<Field> BY_FIELD_NAME =
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 17 16:33:44 GMT 2024 - 20.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/FreshValueGeneratorTest.java
import java.util.concurrent.TimeUnit; import java.util.regex.MatchResult; import java.util.regex.Pattern; import junit.framework.TestCase; /** * Tests for {@link FreshValueGenerator}. * * @author Ben Yu */ public class FreshValueGeneratorTest extends TestCase { @AndroidIncompatible // problem with equality of Type objects? public void testFreshInstance() { assertFreshInstances( String.class,
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 17.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* * <p>{@link #setDefault} allows subclasses to specify default values for types. * * <p>This class incurs IO because it scans the classpath and reads classpath resources. * * @author Ben Yu * @since 14.0 */ // TODO: Switch to JUnit 4 and use @Parameterized and @BeforeClass // Note: @Test annotations are deliberate, as some subclasses specify @RunWith(JUnit4). @GwtIncompatible @J2ktIncompatible
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Fri May 12 19:22:18 GMT 2023 - 17.5K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
import java.util.regex.Pattern; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit test for {@link ArbitraryInstances}. * * @author Ben Yu */ public class ArbitraryInstancesTest extends TestCase { public void testGet_primitives() { assertNull(ArbitraryInstances.get(void.class)); assertNull(ArbitraryInstances.get(Void.class));
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 21.7K bytes - Viewed (0) -
guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java
import java.util.regex.Pattern; import junit.framework.TestCase; import org.checkerframework.checker.nullness.qual.Nullable; /** * Unit test for {@link ArbitraryInstances}. * * @author Ben Yu */ public class ArbitraryInstancesTest extends TestCase { public void testGet_primitives() { assertNull(ArbitraryInstances.get(void.class)); assertNull(ArbitraryInstances.get(Void.class));
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 22.1K bytes - Viewed (0) -
guava/src/com/google/common/base/Equivalence.java
* {@linkplain #identity() identity equivalence} and the {@linkplain #equals "equals" equivalence}. * * @author Bob Lee * @author Ben Yu * @author Gregory Kick * @since 10.0 (<a href="https://github.com/google/guava/wiki/Compatibility">mostly * source-compatible</a> since 4.0) */ @GwtCompatible @ElementTypesAreNonnullByDefault /*
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 14.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeTokenResolutionTest.java
import java.util.ArrayList; import java.util.List; import java.util.Map; import junit.framework.TestCase; /** * Unit test for {@link TypeToken} and {@link TypeResolver}. * * @author Ben Yu */ @AndroidIncompatible // lots of failures, possibly some related to bad equals() implementations? public class TypeTokenResolutionTest extends TestCase { private static class Foo<A, B> {
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 19.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Equivalence.java
* target a lower API level. In the meantime, if you have support for method references you can use * an equivalence as a bi-predicate like this: {@code myEquivalence::equivalent}. * * @author Bob Lee * @author Ben Yu * @author Gregory Kick * @since 10.0 (<a href="https://github.com/google/guava/wiki/Compatibility">mostly * source-compatible</a> since 4.0) */ @GwtCompatible @ElementTypesAreNonnullByDefault /*
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Apr 24 01:41:50 GMT 2024 - 14.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java
* * <p>{@link #setDefault} allows subclasses to specify default values for types. * * <p>This class incurs IO because it scans the classpath and reads classpath resources. * * @author Ben Yu * @since 14.0 */ // TODO: Switch to JUnit 4 and use @Parameterized and @BeforeClass // Note: @Test annotations are deliberate, as some subclasses specify @RunWith(JUnit4). @GwtIncompatible @J2ktIncompatible
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Fri May 12 19:22:18 GMT 2023 - 17.5K bytes - Viewed (0)