Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for putInstance (0.08 sec)

  1. android/guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

      }
    
      @Override
      @CanIgnoreReturnValue
      @CheckForNull
      public <T extends B> T putInstance(Class<@NonNull T> type, @ParametricNullness T value) {
        return trustedPut(TypeToken.of(type), value);
      }
    
      @Override
      @CanIgnoreReturnValue
      @CheckForNull
      public <T extends B> T putInstance(TypeToken<@NonNull T> type, @ParametricNullness T value) {
        return this.<T>trustedPut(type.rejectTypeVariables(), value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/MutableTypeToInstanceMap.java

      }
    
      @Override
      @CanIgnoreReturnValue
      @CheckForNull
      public <T extends B> T putInstance(Class<@NonNull T> type, @ParametricNullness T value) {
        return trustedPut(TypeToken.of(type), value);
      }
    
      @Override
      @CanIgnoreReturnValue
      @CheckForNull
      public <T extends B> T putInstance(TypeToken<@NonNull T> type, @ParametricNullness T value) {
        return this.<T>trustedPut(type.rejectTypeVariables(), value);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * Sets a default value that can be used for any parameter of type {@code type}. Returns this
       * object.
       */
      @CanIgnoreReturnValue
      public <T> NullPointerTester setDefault(Class<T> type, T value) {
        defaults.putInstance(type, checkNotNull(value));
        return this;
      }
    
      /**
       * Ignore {@code method} in the tests that follow. Returns this object.
       *
       * @since 13.0
       */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

       * Sets a default value that can be used for any parameter of type {@code type}. Returns this
       * object.
       */
      @CanIgnoreReturnValue
      public <T> NullPointerTester setDefault(Class<T> type, T value) {
        defaults.putInstance(type, checkNotNull(value));
        return this;
      }
    
      /**
       * Ignore {@code method} in the tests that follow. Returns this object.
       *
       * @since 13.0
       */
      @CanIgnoreReturnValue
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       */
      @CanIgnoreReturnValue
      public <T> ClassSanityTester setDefault(Class<T> type, T value) {
        nullPointerTester.setDefault(type, value);
        defaultValues.putInstance(type, value);
        return this;
      }
    
      /**
       * Sets distinct values for {@code type}, so that when a class {@code Foo} is tested for {@link
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 32.7K bytes
    - Viewed (0)
Back to top