Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for ToStringHelper (0.34 sec)

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

        assertTrue(toTest, toTest.matches(".*\\{\\}"));
      }
    
      @GwtIncompatible // Class names are obfuscated in GWT
      public void testConstructor_anonymousClass() {
        String toTest = MoreObjects.toStringHelper(new Object() {}).toString();
        assertEquals("{}", toTest);
      }
    
      public void testConstructorLenient_anonymousClass() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 21:19:18 UTC 2024
    - 21.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/MoreObjects.java

       *     class name
       * @since 18.0 (since 2.0 as {@code Objects.toStringHelper()}).
       */
      public static ToStringHelper toStringHelper(Object self) {
        return new ToStringHelper(self.getClass().getSimpleName());
      }
    
      /**
       * Creates an instance of {@link ToStringHelper} in the same manner as {@link
       * #toStringHelper(Object)}, but using the simple name of {@code clazz} instead of using an
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/CloserTest.java

        }
    
        @Override
        public int hashCode() {
          return Objects.hashCode(closeable, thrown, suppressed);
        }
    
        @Override
        public String toString() {
          return MoreObjects.toStringHelper(this)
              .add("closeable", closeable)
              .add("thrown", thrown)
              .add("suppressed", suppressed)
              .toString();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/PairedStats.java

      }
    
      @Override
      public String toString() {
        if (count() > 0) {
          return MoreObjects.toStringHelper(this)
              .add("xStats", xStats)
              .add("yStats", yStats)
              .add("populationCovariance", populationCovariance())
              .toString();
        } else {
          return MoreObjects.toStringHelper(this)
              .add("xStats", xStats)
              .add("yStats", yStats)
              .toString();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/PairedStats.java

      }
    
      @Override
      public String toString() {
        if (count() > 0) {
          return MoreObjects.toStringHelper(this)
              .add("xStats", xStats)
              .add("yStats", yStats)
              .add("populationCovariance", populationCovariance())
              .toString();
        } else {
          return MoreObjects.toStringHelper(this)
              .add("xStats", xStats)
              .add("yStats", yStats)
              .toString();
        }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 17:02:53 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/io/CloserTest.java

        }
    
        @Override
        public int hashCode() {
          return Objects.hashCode(closeable, thrown, suppressed);
        }
    
        @Override
        public String toString() {
          return MoreObjects.toStringHelper(this)
              .add("closeable", closeable)
              .add("thrown", thrown)
              .add("suppressed", suppressed)
              .toString();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue May 07 15:26:58 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  7. guava/src/com/google/common/math/Stats.java

        if (count() > 0) {
          return MoreObjects.toStringHelper(this)
              .add("count", count)
              .add("mean", mean)
              .add("populationStandardDeviation", populationStandardDeviation())
              .add("min", min)
              .add("max", max)
              .toString();
        } else {
          return MoreObjects.toStringHelper(this).add("count", count).toString();
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/cache/CacheStats.java

              && totalLoadTime == other.totalLoadTime
              && evictionCount == other.evictionCount;
        }
        return false;
      }
    
      @Override
      public String toString() {
        return MoreObjects.toStringHelper(this)
            .add("hitCount", hitCount)
            .add("missCount", missCount)
            .add("loadSuccessCount", loadSuccessCount)
            .add("loadExceptionCount", loadExceptionCount)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  9. guava/src/com/google/common/cache/CacheStats.java

              && totalLoadTime == other.totalLoadTime
              && evictionCount == other.evictionCount;
        }
        return false;
      }
    
      @Override
      public String toString() {
        return MoreObjects.toStringHelper(this)
            .add("hitCount", hitCount)
            .add("missCount", missCount)
            .add("loadSuccessCount", loadSuccessCount)
            .add("loadExceptionCount", loadExceptionCount)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        return ImmutableMap.copyOf(
            Maps.<Service, Long, Duration>transformValues(startupTimes(), Duration::ofMillis));
      }
    
      @Override
      public String toString() {
        return MoreObjects.toStringHelper(ServiceManager.class)
            .add("services", Collections2.filter(services, not(instanceOf(NoOpService.class))))
            .toString();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
Back to top