Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for addValue (0.05 sec)

  1. guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .add(LONG_NAME, null)
                .addValue("z")
                .addValue("")
                .addValue(null)
                .add(SHORT_NAME, Arrays.asList("A"))
                .add(LONG_NAME, Arrays.asList("B"))
                .add(SHORT_NAME, Arrays.asList())
                .add(LONG_NAME, Arrays.asList())
                .addValue(Arrays.asList("C"))
                .addValue(Arrays.asList())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

                .add(LONG_NAME, null)
                .addValue("z")
                .addValue("")
                .addValue(null)
                .add(SHORT_NAME, Arrays.asList("A"))
                .add(LONG_NAME, Arrays.asList("B"))
                .add(SHORT_NAME, Arrays.asList())
                .add(LONG_NAME, Arrays.asList())
                .addValue(Arrays.asList("C"))
                .addValue(Arrays.asList())
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

      public void testToString_addValueWithNullValue() {
        final String result =
            MoreObjects.toStringHelper(new TestClass())
                .addValue(null)
                .addValue("Hello")
                .addValue(null)
                .toString();
        final String expected = "TestClass{null, Hello, null}";
    
        assertEquals(expected, result);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/base/MoreObjects.java

        public ToStringHelper addValue(@CheckForNull 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/CacheBuilder.java

          s.add("valueStrength", Ascii.toLowerCase(valueStrength.toString()));
        }
        if (keyEquivalence != null) {
          s.addValue("keyEquivalence");
        }
        if (valueEquivalence != null) {
          s.addValue("valueEquivalence");
        }
        if (removalListener != null) {
          s.addValue("removalListener");
        }
        return s.toString();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 52K bytes
    - Viewed (0)
  6. guava/src/com/google/common/cache/CacheBuilder.java

          s.add("valueStrength", Ascii.toLowerCase(valueStrength.toString()));
        }
        if (keyEquivalence != null) {
          s.addValue("keyEquivalence");
        }
        if (valueEquivalence != null) {
          s.addValue("valueEquivalence");
        }
        if (removalListener != null) {
          s.addValue("removalListener");
        }
        return s.toString();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 51.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

            callback.onFailure(e);
            return;
          }
          callback.onSuccess(value);
        }
    
        @Override
        public String toString() {
          return MoreObjects.toStringHelper(this).addValue(callback).toString();
        }
      }
    
      /**
       * Returns the result of the input {@code Future}, which must have already completed.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  8. guava/src/com/google/common/util/concurrent/Futures.java

            callback.onFailure(e);
            return;
          }
          callback.onSuccess(value);
        }
    
        @Override
        public String toString() {
          return MoreObjects.toStringHelper(this).addValue(callback).toString();
        }
      }
    
      /**
       * Returns the result of the input {@code Future}, which must have already completed.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        }
      }
    
      @Override
      public String toString() {
        // TODO(dpb): Better toString, in the style of Futures.transform etc.
        return toStringHelper(this).add("state", state.get()).addValue(future).toString();
      }
    
      @SuppressWarnings({"removal", "Finalize"}) // b/260137033
      @Override
      protected void finalize() {
        if (state.get().equals(OPEN)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  10. test-site/activator-launch-1.3.2.jar

    public final synchronized class ManifestHeaderElemen { private java.util.List values; private java.util.Map attributes; private java.util.Map directives; public void ManifestHeaderElemen(); public final java.util.List getValues(); public final void addValue(String); public final java.util.Map getAttributes(); public final void addAttribute(String, String); public final java.util.Map getDirectives(); public final void addDirective(String, String); public final boolean equals(Object); public final String...
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Mon Apr 20 08:41:37 UTC 2015
    - 1.2M bytes
    - Viewed (0)
Back to top