Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 13 of 13 for putInstance (0.05 sec)

  1. 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)
  2. 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)
  3. 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