Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 79 for beni (0.01 sec)

  1. guava-tests/test/com/google/common/reflect/TypeParameterTest.java

    import java.lang.reflect.Method;
    import java.lang.reflect.TypeVariable;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit test for {@link TypeParameter}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class TypeParameterTest extends TestCase {
    
      public <T> void testCaptureTypeParameter() throws Exception {
        TypeVariable<?> variable = new TypeParameter<T>() {}.typeVariable;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  2. android/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 each
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  3. 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 each
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 22:10:29 UTC 2025
    - 4.5K bytes
    - Viewed (0)
  4. android/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>() {}`, which
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. guava-tests/benchmark/com/google/common/base/ObjectsBenchmark.java

    package com.google.common.base;
    
    import com.google.caliper.Benchmark;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Some microbenchmarks for the {@link com.google.common.base.Objects} class.
     *
     * @author Ben L. Titzer
     */
    @NullUnmarked
    public class ObjectsBenchmark {
    
      private static final Integer I0 = -45;
      private static final Integer I1 = -1;
      private static final Integer I2 = 3;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/testing/AbstractPackageSanityTestsTest.java

    import java.util.Arrays;
    import java.util.List;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link AbstractPackageSanityTests}.
     *
     * @author Ben Yu
     */
    @NullUnmarked
    public class AbstractPackageSanityTestsTest extends TestCase {
      /*
       * This is a public type so that the Android test runner can create an instance directly as it
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 28 02:48:50 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. 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)
  8. 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")
    public interface TypeToInstanceMap<B extends @Nullable Object>
        extends Map<TypeToken<? extends @NonNull B>, B> {
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  9. 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")
    public interface TypeToInstanceMap<B extends @Nullable Object>
        extends Map<TypeToken<? extends @NonNull B>, B> {
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

    import java.util.Set;
    import org.jspecify.annotations.NonNull;
    import org.jspecify.annotations.Nullable;
    
    /**
     * A mutable type-to-instance map. See also {@link ImmutableTypeToInstanceMap}.
     *
     * @author Ben Yu
     * @since 13.0
     */
    public final class MutableTypeToInstanceMap<B extends @Nullable Object>
        extends ForwardingMap<TypeToken<? extends @NonNull B>, B> implements TypeToInstanceMap<B> {
      /** Creates a new map. */
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 5.7K bytes
    - Viewed (0)
Back to top