Searched refs:ToStringHelper (Results 1 - 22 of 22) sorted by relevance

/external/slf4j/slf4j-ext/src/test/java/org/slf4j/instrumentation/
H A DToStringHelperTest.java32 assertEquals("", "null", ToStringHelper.render(null));
33 assertEquals("", "a", ToStringHelper.render("a"));
34 assertEquals("", "[]", ToStringHelper.render(new String[0]));
36 assertEquals("", "[a]", ToStringHelper.render(new String[] { "a" }));
38 assertEquals("", "[a, b]", ToStringHelper.render(new String[] { "a", "b" }));
40 assertEquals("", "[a, b, c]", ToStringHelper.render(new String[] { "a", "b", "c" }));
42 assertEquals("", "[[a], [b, c]]", ToStringHelper.render(new String[][] { { "a" }, { "b", "c" } }));
44 assertEquals("", "[0, [a], [b, c]]", ToStringHelper.render(new Object[] { "0", new String[] { "a" }, new Object[] { "b", "c" } }));
46 assertEquals("", "[1]", ToStringHelper.render(new int[] { 1 }));
48 assertEquals("", "[1, 2, 3]", ToStringHelper
[all...]
/external/guava/guava/src/com/google/common/base/
H A DMoreObjects.java56 * Creates an instance of {@link ToStringHelper}.
94 public static ToStringHelper toStringHelper(Object self) {
95 return new ToStringHelper(simpleName(self.getClass()));
99 * Creates an instance of {@link ToStringHelper} in the same manner as {@link
108 public static ToStringHelper toStringHelper(Class<?> clazz) {
109 return new ToStringHelper(simpleName(clazz));
113 * Creates an instance of {@link ToStringHelper} in the same manner as {@link
120 public static ToStringHelper toStringHelper(String className) {
121 return new ToStringHelper(className);
151 * @since 18.0 (since 2.0 as {@code Objects.ToStringHelper}
153 public static final class ToStringHelper { class in class:MoreObjects
162 private ToStringHelper(String className) { method in class:MoreObjects.ToStringHelper
[all...]
H A DObjects.java88 * Creates an instance of {@link ToStringHelper}.
129 public static ToStringHelper toStringHelper(Object self) {
130 return new ToStringHelper(MoreObjects.simpleName(self.getClass()));
134 * Creates an instance of {@link ToStringHelper} in the same manner as
146 public static ToStringHelper toStringHelper(Class<?> clazz) {
147 return new ToStringHelper(MoreObjects.simpleName(clazz));
151 * Creates an instance of {@link ToStringHelper} in the same manner as
161 public static ToStringHelper toStringHelper(String className) {
162 return new ToStringHelper(className);
194 * @deprecated Use {@link MoreObjects.ToStringHelper} instea
198 public static final class ToStringHelper { class in class:Objects
207 private ToStringHelper(String className) { method in class:Objects.ToStringHelper
[all...]
/external/droiddriver/src/io/appium/droiddriver/util/
H A DStrings.java27 public static ToStringHelper toStringHelper(Object self) {
28 return new ToStringHelper(self.getClass().getSimpleName());
31 public static final class ToStringHelper { class in class:Strings
38 private ToStringHelper(String className) { method in class:Strings.ToStringHelper
42 public ToStringHelper addValue(Object value) {
47 public ToStringHelper add(String name, Object value) {
/external/testng/src/main/java/org/testng/collections/
H A DObjects.java35 public static class ToStringHelper { class in class:Objects
41 public ToStringHelper(String className) { method in class:Objects.ToStringHelper
45 public ToStringHelper omitNulls() {
50 public ToStringHelper omitEmptyStrings() {
55 public ToStringHelper add(String name, String value) {
60 public ToStringHelper add(String name, Object value) {
90 public static ToStringHelper toStringHelper(Class<?> class1) {
91 return new ToStringHelper(class1.getSimpleName());
/external/guava/guava-tests/benchmark/com/google/common/base/
H A DToStringHelperBenchmark.java23 * Some microbenchmarks for the {@link Objects.ToStringHelper} class.
33 private static void addEntries(Objects.ToStringHelper helper) {
47 Objects.ToStringHelper helper = Objects.toStringHelper("klass").omitNullValues();
/external/droiddriver/src/io/appium/droiddriver/actions/
H A DSingleKeyAction.java27 import io.appium.droiddriver.util.Strings.ToStringHelper;
85 ToStringHelper toStringHelper = Strings.toStringHelper(this);
H A DSwipeAction.java28 import io.appium.droiddriver.util.Strings.ToStringHelper;
212 ToStringHelper toStringHelper = Strings.toStringHelper(this);
/external/droiddriver/src/io/appium/droiddriver/base/
H A DBaseUiElement.java46 import io.appium.droiddriver.util.Strings.ToStringHelper;
283 ToStringHelper toStringHelper = Strings.toStringHelper(this);
295 private static void addAttribute(ToStringHelper toStringHelper, Attribute attr, Object value) {
/external/slf4j/slf4j-ext/src/main/java/org/slf4j/instrumentation/
H A DToStringHelper.java30 public class ToStringHelper { class
/external/caliper/caliper/src/main/java/com/google/caliper/runner/
H A DStreamService.java27 import com.google.common.base.MoreObjects.ToStringHelper;
324 ToStringHelper helper = MoreObjects.toStringHelper(StreamItem.class);
/external/guava/guava-tests/test/com/google/common/base/
H A DToStringHelperTest.java237 Objects.ToStringHelper helper = Objects.toStringHelper(new TestClass());
263 Objects.ToStringHelper helper = Objects.toStringHelper(new TestClass())
/external/guava/guava-gwt/src-super/com/google/common/cache/super/com/google/common/cache/
H A DCacheBuilder.java589 MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this);
/external/guava/guava/src/com/google/common/cache/
H A DCacheBuilder.java834 MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this);
/external/guava/guava/src/com/google/common/collect/
H A DMapMaker.java596 MoreObjects.ToStringHelper s = MoreObjects.toStringHelper(this);
/external/dagger2/lib/
H A Dauto-value-1.0.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/auto/ com/google/auto/value/ ...
H A Dgoogle-java-format-0.1-20151017.042846-2.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/googlejavaformat/ com/google/googlejavaformat/CloseOp ...
/external/guice/lib/
H A Dguava-16.0.1.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META-INF/maven/com. ...
/external/owasp/sanitizer/distrib/lib/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/owasp/sanitizer/lib/guava-libraries/
H A Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/common/ com/google/common/collect/ ...
/external/testng/ant/3rdparty/
H A Ddoclava-1.0.3.jarMETA-INF/MANIFEST.MF assets/html/index.html assets/templates/data.hdf assets/templates/assets/ ...
/external/robolectric/v3/runtime/
H A Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/collect/ ...

Completed in 514 milliseconds