Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for toStringHelper (0.05 sec)

  1. guava/src/com/google/common/base/Predicates.java

          }
          return false;
        }
    
        @Override
        public String toString() {
          return toStringHelper("or", components);
        }
    
        @GwtIncompatible @J2ktIncompatible private static final long serialVersionUID = 0;
      }
    
      private static String toStringHelper(String methodName, Iterable<?> components) {
        StringBuilder builder = new StringBuilder("Predicates.").append(methodName).append('(');
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 26.6K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/MapMaker.java

      /**
       * Returns a string representation for this MapMaker instance. The exact form of the returned
       * string is not specified.
       */
      @Override
      public String toString() {
        MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this);
        if (initialCapacity != UNSET_INT) {
          s.add("initialCapacity", initialCapacity);
        }
        if (concurrencyLevel != UNSET_INT) {
          s.add("concurrencyLevel", concurrencyLevel);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/MoreObjectsTest.java

        tester.ignore(MoreObjects.class.getMethod("firstNonNull", Object.class, Object.class));
        tester.testAllPublicStaticMethods(MoreObjects.class);
        tester.testAllPublicInstanceMethods(MoreObjects.toStringHelper(new TestClass()));
      }
    
      /** Test class for testing formatting of inner classes. */
      private static class TestClass {}
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 2.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/cache/CacheBuilder.java

       * Returns a string representation for this CacheBuilder instance. The exact form of the returned
       * string is not specified.
       */
      @Override
      public String toString() {
        MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this);
        if (initialCapacity != UNSET_INT) {
          s.add("initialCapacity", initialCapacity);
        }
        if (concurrencyLevel != UNSET_INT) {
          s.add("concurrencyLevel", concurrencyLevel);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 51.7K bytes
    - Viewed (0)
  5. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
Back to top