Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for omitEmptyValues (0.05 sec)

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

        String toTest =
            MoreObjects.toStringHelper(new TestClass())
                .omitEmptyValues()
                .omitEmptyValues()
                .add("field1", "Hello")
                .omitEmptyValues()
                .add("field2", "Googley")
                .omitEmptyValues()
                .add("field3", "World")
                .toString();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 18:46:00 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/base/MoreObjects.java

         * Collection}s, {@code Map}s, optionals (including Guava's), and arrays.
         *
         * @since 33.4.0
         */
        @CanIgnoreReturnValue
        public ToStringHelper omitEmptyValues() {
          omitEmptyValues = true;
          return this;
        }
    
        /**
         * Adds a name/value pair to the formatted output in {@code name=value} format. If {@code value}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.1K bytes
    - Viewed (0)
  3. guava/src/com/google/common/base/MoreObjects.java

         * Collection}s, {@code Map}s, optionals (including Guava's), and arrays.
         *
         * @since 33.4.0
         */
        @CanIgnoreReturnValue
        public ToStringHelper omitEmptyValues() {
          omitEmptyValues = true;
          return this;
        }
    
        /**
         * Adds a name/value pair to the formatted output in {@code name=value} format. If {@code value}
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  4. android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java

            dataset.addEntries(helper);
          }
          dummy ^= helper.toString().hashCode();
        }
        return dummy;
      }
    
      // When omitEmptyValues() is released, remove this method and add a new @Param "omitEmptyValues".
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 4.4K bytes
    - Viewed (0)
Back to top