Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for omitNullValues (0.07 sec)

  1. android/guava/src/com/google/common/base/MoreObjects.java

         * methods, is not significant.
         *
         * @since 18.0 (since 12.0 as {@code Objects.ToStringHelper.omitNullValues()}).
         */
        @CanIgnoreReturnValue
        public ToStringHelper omitNullValues() {
          omitNullValues = true;
          return this;
        }
    
        /**
         * Configures the {@link ToStringHelper} so {@link #toString()} will ignore properties with
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 10 15:41:27 UTC 2024
    - 16.1K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/base/ToStringHelperTest.java

        String toTest =
            MoreObjects.toStringHelper(new TestClass())
                .omitNullValues()
                .omitNullValues()
                .add("field1", "Hello")
                .omitNullValues()
                .add("field2", "Googley")
                .omitNullValues()
                .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)
Back to top