Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for omitEmptyValues (0.09 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 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

         * Collection}s, {@code Map}s, optionals (including Guava's), and arrays.
         *
         * @since NEXT
         */
        @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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  3. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jun 10 19:21:11 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top