Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for add_value (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

      public void testToString_addValueWithNullValue() {
        String result =
            MoreObjects.toStringHelper(new TestClass())
                .addValue(null)
                .addValue("Hello")
                .addValue(null)
                .toString();
        String expected = "TestClass{null, Hello, null}";
    
        assertThat(result).isEqualTo(expected);
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 15:59:55 GMT 2026
    - 22K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/base/MoreObjects.java

        public ToStringHelper addValue(@Nullable Object value) {
          return addHolder(value);
        }
    
        /**
         * Adds an unnamed value to the formatted output.
         *
         * <p>It is strongly encouraged to use {@link #add(String, boolean)} instead and give value a
         * readable name.
         *
         * @since 18.0 (since 11.0 as {@code Objects.ToStringHelper.addValue}).
         */
        @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.2K bytes
    - Click Count (0)
  3. guava/src/com/google/common/base/MoreObjects.java

        public ToStringHelper addValue(@Nullable Object value) {
          return addHolder(value);
        }
    
        /**
         * Adds an unnamed value to the formatted output.
         *
         * <p>It is strongly encouraged to use {@link #add(String, boolean)} instead and give value a
         * readable name.
         *
         * @since 18.0 (since 11.0 as {@code Objects.ToStringHelper.addValue}).
         */
        @CanIgnoreReturnValue
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Feb 05 17:38:41 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

      internal val generalName: DerAdapter<Pair<DerAdapter<*>, Any?>> =
        Adapters.choice(
          generalNameDnsName,
          generalNameIpAddress,
          Adapters.ANY_VALUE,
        )
    
      /**
       * ```
       * SubjectAltName ::= GeneralNames
       *
       * GeneralNames ::= SEQUENCE SIZE (1..MAX) OF GeneralName
       * ```
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/core/beans/util/CopyOptionsTest.java

        public void testIsTargetProperty_excludes_prefix() throws Exception {
            final CopyOptions option = new CopyOptions().prefix(BeanNames.abc_()).exclude(BeanNames.abc_exclude());
            assertThat(option.isTargetProperty("abc_value"), is(true));
            assertThat(option.isTargetProperty("abc_exclude"), is(not(true)));
            assertThat(option.isTargetProperty("ab"), is(not(true)));
        }
    
        /**
         * @throws Exception
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Fri Jun 20 13:40:57 GMT 2025
    - 12K bytes
    - Click Count (0)
  6. guava/src/com/google/common/collect/MapMaker.java

        }
        if (valueStrength != null) {
          s.add("valueStrength", Ascii.toLowerCase(valueStrength.toString()));
        }
        if (keyEquivalence != null) {
          s.addValue("keyEquivalence");
        }
        return s.toString();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/cache/CacheBuilderSpec.java

       * Returns a string representation for this CacheBuilderSpec instance. The form of this
       * representation is not guaranteed.
       */
      @Override
      public String toString() {
        return MoreObjects.toStringHelper(this).addValue(toParsableString()).toString();
      }
    
      @Override
      public int hashCode() {
        return Objects.hash(
            initialCapacity,
            maximumSize,
            maximumWeight,
            concurrencyLevel,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  8. guava/src/com/google/common/cache/CacheBuilderSpec.java

       * Returns a string representation for this CacheBuilderSpec instance. The form of this
       * representation is not guaranteed.
       */
      @Override
      public String toString() {
        return MoreObjects.toStringHelper(this).addValue(toParsableString()).toString();
      }
    
      @Override
      public int hashCode() {
        return Objects.hash(
            initialCapacity,
            maximumSize,
            maximumWeight,
            concurrencyLevel,
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Apr 01 17:27:13 GMT 2026
    - 18.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/MapMaker.java

        }
        if (valueStrength != null) {
          s.add("valueStrength", Ascii.toLowerCase(valueStrength.toString()));
        }
        if (keyEquivalence != null) {
          s.addValue("keyEquivalence");
        }
        return s.toString();
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 12.8K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/eventbus/EventBus.java

          // the event had no subscribers and was not itself a DeadEvent
          post(new DeadEvent(this, event));
        }
      }
    
      @Override
      public String toString() {
        return MoreObjects.toStringHelper(this).addValue(identifier).toString();
      }
    
      /** Simple logging handler for subscriber exceptions. */
      static final class LoggingHandler implements SubscriberExceptionHandler {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 12.7K bytes
    - Click Count (0)
Back to Top