/external/slf4j/slf4j-ext/src/test/java/org/slf4j/instrumentation/ |
D | ToStringHelperTest.java | 32 assertEquals("", "null", ToStringHelper.render(null)); in testRenderer() 33 assertEquals("", "a", ToStringHelper.render("a")); in testRenderer() 34 assertEquals("", "[]", ToStringHelper.render(new String[0])); in testRenderer() 36 assertEquals("", "[a]", ToStringHelper.render(new String[] { "a" })); in testRenderer() 38 assertEquals("", "[a, b]", ToStringHelper.render(new String[] { "a", "b" })); in testRenderer() 40 assertEquals("", "[a, b, c]", ToStringHelper.render(new String[] { "a", "b", "c" })); in testRenderer() 42 …assertEquals("", "[[a], [b, c]]", ToStringHelper.render(new String[][] { { "a" }, { "b", "c" } })); in testRenderer() 44 …assertEquals("", "[0, [a], [b, c]]", ToStringHelper.render(new Object[] { "0", new String[] { "a" … in testRenderer() 46 assertEquals("", "[1]", ToStringHelper.render(new int[] { 1 })); in testRenderer() 48 assertEquals("", "[1, 2, 3]", ToStringHelper.render(new int[] { 1, 2, 3 })); in testRenderer() [all …]
|
/external/guava/guava/src/com/google/common/base/ |
D | MoreObjects.java | 94 public static ToStringHelper toStringHelper(Object self) { in toStringHelper() 95 return new ToStringHelper(simpleName(self.getClass())); in toStringHelper() 108 public static ToStringHelper toStringHelper(Class<?> clazz) { in toStringHelper() 109 return new ToStringHelper(simpleName(clazz)); in toStringHelper() 120 public static ToStringHelper toStringHelper(String className) { in toStringHelper() 121 return new ToStringHelper(className); in toStringHelper() 153 public static final class ToStringHelper { class in MoreObjects 162 private ToStringHelper(String className) { in ToStringHelper() method in MoreObjects.ToStringHelper 173 public ToStringHelper omitNullValues() { in omitNullValues() 184 public ToStringHelper add(String name, @Nullable Object value) { in add() [all …]
|
D | Objects.java | 129 public static ToStringHelper toStringHelper(Object self) { in toStringHelper() 130 return new ToStringHelper(MoreObjects.simpleName(self.getClass())); in toStringHelper() 146 public static ToStringHelper toStringHelper(Class<?> clazz) { in toStringHelper() 147 return new ToStringHelper(MoreObjects.simpleName(clazz)); in toStringHelper() 161 public static ToStringHelper toStringHelper(String className) { in toStringHelper() 162 return new ToStringHelper(className); in toStringHelper() 198 public static final class ToStringHelper { class in Objects 207 private ToStringHelper(String className) { in ToStringHelper() method in Objects.ToStringHelper 218 public ToStringHelper omitNullValues() { in omitNullValues() 229 public ToStringHelper add(String name, @Nullable Object value) { in add() [all …]
|
/external/testng/src/main/java/org/testng/collections/ |
D | Objects.java | 35 public static class ToStringHelper { class in Objects 41 public ToStringHelper(String className) { in ToStringHelper() method in Objects.ToStringHelper 45 public ToStringHelper omitNulls() { in omitNulls() 50 public ToStringHelper omitEmptyStrings() { in omitEmptyStrings() 55 public ToStringHelper add(String name, String value) { in add() 60 public ToStringHelper add(String name, Object value) { in add() 90 public static ToStringHelper toStringHelper(Class<?> class1) { in toStringHelper() 91 return new ToStringHelper(class1.getSimpleName()); in toStringHelper()
|
/external/droiddriver/src/io/appium/droiddriver/util/ |
D | Strings.java | 27 public static ToStringHelper toStringHelper(Object self) { in toStringHelper() 28 return new ToStringHelper(self.getClass().getSimpleName()); in toStringHelper() 31 public static final class ToStringHelper { class in Strings 38 private ToStringHelper(String className) { in ToStringHelper() method in Strings.ToStringHelper 42 public ToStringHelper addValue(Object value) { in addValue() 47 public ToStringHelper add(String name, Object value) { in add()
|
/external/guava/guava-tests/benchmark/com/google/common/base/ |
D | ToStringHelperBenchmark.java | 33 private static void addEntries(Objects.ToStringHelper helper) { in addEntries() 47 Objects.ToStringHelper helper = Objects.toStringHelper("klass").omitNullValues(); in toString()
|
/external/droiddriver/src/io/appium/droiddriver/actions/ |
D | SingleKeyAction.java | 27 import io.appium.droiddriver.util.Strings.ToStringHelper; 85 ToStringHelper toStringHelper = Strings.toStringHelper(this); in toString()
|
D | SwipeAction.java | 28 import io.appium.droiddriver.util.Strings.ToStringHelper; 212 ToStringHelper toStringHelper = Strings.toStringHelper(this); in toString()
|
/external/droiddriver/src/io/appium/droiddriver/base/ |
D | BaseUiElement.java | 46 import io.appium.droiddriver.util.Strings.ToStringHelper; 283 ToStringHelper toStringHelper = Strings.toStringHelper(this); in toString() 295 private static void addAttribute(ToStringHelper toStringHelper, Attribute attr, Object value) { in addAttribute()
|
/external/caliper/caliper/src/main/java/com/google/caliper/runner/ |
D | StreamService.java | 27 import com.google.common.base.MoreObjects.ToStringHelper; 324 ToStringHelper helper = MoreObjects.toStringHelper(StreamItem.class); in toString()
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | ToStringHelperTest.java | 237 Objects.ToStringHelper helper = Objects.toStringHelper(new TestClass()); in testToString_addWithNullName() 263 Objects.ToStringHelper helper = Objects.toStringHelper(new TestClass()) in testToString_ToStringTwice()
|
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/instrumentation/ |
D | ToStringHelper.java | 30 public class ToStringHelper { class
|
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/ |
D | CacheBuilder.java | 589 MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this); in toString()
|
/external/guava/guava/src/com/google/common/cache/ |
D | CacheBuilder.java | 834 MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this); in toString()
|
/external/guava/guava/src/com/google/common/collect/ |
D | MapMaker.java | 596 MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this); in toString()
|