- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for ToStringHelper (0.1 sec)
-
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.6K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/base/ToStringHelperBenchmark.java
} }; void addEntries(MoreObjects.ToStringHelper helper) {} } @Param Dataset dataset; private static final String SHORT_NAME = "userId"; private static final String LONG_NAME = "fluxCapacitorFailureRate95Percentile"; private MoreObjects.ToStringHelper newHelper() { MoreObjects.ToStringHelper helper = MoreObjects.toStringHelper("klass"); if (omitNulls) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 4.4K bytes - Viewed (0) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 16.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/ComparisonChainTest.java
* See the License for the specific language governing permissions and * limitations under the License. */ package com.google.common.collect; import static com.google.common.base.MoreObjects.toStringHelper; import static com.google.common.truth.Truth.assertThat; import static com.google.common.truth.Truth.assertWithMessage; import static java.lang.Integer.signum; import static java.util.Comparator.comparing;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 12 03:05:13 UTC 2025 - 7.6K bytes - Viewed (0) -
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) -
android/guava/src/com/google/common/eventbus/DeadEvent.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 03:10:51 UTC 2024 - 2.1K bytes - Viewed (0) -
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) -
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) -
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 Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 12.6K bytes - Viewed (0) -
android/guava-testlib/test/com/google/common/testing/EquivalenceTesterTest.java
final int item; TestObject(int group, int item) { this.group = group; this.item = item; } @Override public String toString() { return MoreObjects.toStringHelper("TestObject") .add("group", group) .add("item", item) .toString(); } } private static final class MockEquivalence extends Equivalence<Object> {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 8.4K bytes - Viewed (0)