- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 75 for yu (0.01 sec)
-
android/guava-tests/test/com/google/common/primitives/PackageSanityTests.java
package com.google.common.primitives; import com.google.common.testing.AbstractPackageSanityTests; import org.jspecify.annotations.NullUnmarked; /** * Tests basic sanity for each class in the package. * * @author Ben Yu */ @NullUnmarked public class PackageSanityTests extends AbstractPackageSanityTests { public PackageSanityTests() { setDefault(String.class, "string"); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 993 bytes - Viewed (0) -
android/guava/src/com/google/common/base/Defaults.java
import com.google.common.annotations.J2ktIncompatible; import org.jspecify.annotations.Nullable; /** * This class provides default values for all Java types, as defined by the JLS. * * @author Ben Yu * @since 1.0 */ @J2ktIncompatible @GwtIncompatible public final class Defaults { private Defaults() {} private static final Double DOUBLE_DEFAULT = 0d; private static final Float FLOAT_DEFAULT = 0f;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.2K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/RelationshipTesterTest.java
import com.google.common.testing.RelationshipTester.ItemReporter; import junit.framework.TestCase; import org.jspecify.annotations.NullUnmarked; /** * Tests for {@link RelationshipTester}. * * @author Ben Yu */ @NullUnmarked public class RelationshipTesterTest extends TestCase { public void testNulls() { new ClassSanityTester() .setDefault(ItemReporter.class, /* itemReporter */ Item::toString)Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 1.1K bytes - Viewed (0) -
guava/src/com/google/common/reflect/TypeParameter.java
* * {@snippet : * static <T> TypeToken<List<T>> listOf(Class<T> elementType) { * return new TypeToken<List<T>>() {} * .where(new TypeParameter<T>() {}, elementType); * } * } * * @author Ben Yu * @since 12.0 */ /* * A nullable bound would let users create a TypeParameter instance for a parameter with a nullable * bound. However, it would also let them create `new TypeParameter<@Nullable T>() {}`, whichRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 2.4K bytes - Viewed (0) -
guava-tests/test/com/google/common/primitives/PackageSanityTests.java
package com.google.common.primitives; import com.google.common.testing.AbstractPackageSanityTests; import org.jspecify.annotations.NullUnmarked; /** * Tests basic sanity for each class in the package. * * @author Ben Yu */ @NullUnmarked public class PackageSanityTests extends AbstractPackageSanityTests { public PackageSanityTests() { setDefault(String.class, "string"); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 993 bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeCapture.java
import static com.google.common.base.Preconditions.checkArgument; import java.lang.reflect.ParameterizedType; import java.lang.reflect.Type; /** * Captures the actual type of {@code T}. * * @author Ben Yu */ abstract class TypeCapture<T> { /** Returns the captured type. */ final Type capture() { Type superclass = getClass().getGenericSuperclass();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 1.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/PackageSanityTests.java
package com.google.common.cache; import com.google.common.testing.AbstractPackageSanityTests; import org.jspecify.annotations.NullUnmarked; /** * Basic sanity tests for the entire package. * * @author Ben Yu */ @NullUnmarked public class PackageSanityTests extends AbstractPackageSanityTests { public PackageSanityTests() { setDefault( CacheLoader.class, new CacheLoader<Object, Object>() {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 1.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
* constructor argument or an equal object is provided, that becomes group 1. * </ul> * * @author Jim McMaster * @author Jige Yu * @since 10.0 */ @GwtCompatible @NullMarked public final class EqualsTester { private static final int REPETITIONS = 3; private final List<List<Object>> equalityGroups = new ArrayList<>();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 6.1K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/DummyProxy.java
import java.util.Set; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Generates a dummy interface proxy that simply returns a dummy value for each method. * * @author Ben Yu */ @GwtIncompatible @J2ktIncompatible @NullMarked abstract class DummyProxy { /** * Returns a new proxy for {@code interfaceType}. Proxies of the same interface are equal to eachRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 22:10:29 UTC 2025 - 4.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/FakeTicker.java
* * <p>The ticker can be configured so that the time is incremented whenever {@link #read} is called: * see {@link #setAutoIncrementStep}. * * <p>This class is thread-safe. * * @author Jige Yu * @since 10.0 */ @NullMarked @GwtCompatible public class FakeTicker extends Ticker { private final AtomicLong nanos = new AtomicLong(); private volatile long autoIncrementStepNanos;Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 4.1K bytes - Viewed (0)