- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 14 for toStringImpl (0.07 seconds)
-
android/guava/src/com/google/common/collect/ForwardingCollection.java
* {@link #iterator}, you may wish to override {@link #toString} to forward to this * implementation. * * @since 7.0 */ protected String standardToString() { return Collections2.toStringImpl(this); } /** * A sensible definition of {@link #toArray()} in terms of {@link #toArray(Object[])}. If you * override {@link #toArray(Object[])}, you may wish to override {@link #toArray} to forward toCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 8.1K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingCollection.java
* {@link #iterator}, you may wish to override {@link #toString} to forward to this * implementation. * * @since 7.0 */ protected String standardToString() { return Collections2.toStringImpl(this); } /** * A sensible definition of {@link #toArray()} in terms of {@link #toArray(Object[])}. If you * override {@link #toArray(Object[])}, you may wish to override {@link #toArray} to forward toCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Jul 08 18:32:10 GMT 2025 - 8.1K bytes - Click Count (0) -
guava-tests/test/com/google/common/collect/Collections2Test.java
} public void testToStringImplWithNullEntries() throws Exception { List<@Nullable String> list = new ArrayList<>(); list.add("foo"); list.add(null); assertThat(Collections2.toStringImpl(list)).isEqualTo(list.toString()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 20.1K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/Collections2Test.java
} public void testToStringImplWithNullEntries() throws Exception { List<@Nullable String> list = new ArrayList<>(); list.add("foo"); list.add(null); assertThat(Collections2.toStringImpl(list)).isEqualTo(list.toString()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Mar 12 17:47:10 GMT 2026 - 20.1K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/Collections2.java
for (Object o : c) { if (!self.contains(o)) { return false; } } return true; } /** An implementation of {@link Collection#toString()}. */ static String toStringImpl(Collection<?> collection) { StringBuilder sb = newStringBuilderForCollection(collection.size()).append('['); boolean first = true; for (Object o : collection) { if (!first) { sb.append(", ");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 22.6K bytes - Click Count (0) -
guava/src/com/google/common/collect/Collections2.java
for (Object o : c) { if (!self.contains(o)) { return false; } } return true; } /** An implementation of {@link Collection#toString()}. */ static String toStringImpl(Collection<?> collection) { StringBuilder sb = newStringBuilderForCollection(collection.size()).append('['); boolean first = true; for (Object o : collection) { if (!first) { sb.append(", ");
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sun Mar 08 16:16:42 GMT 2026 - 23K bytes - Click Count (0) -
guava/src/com/google/common/collect/ForwardingMap.java
* forward to this implementation. * * @since 7.0 */ protected String standardToString() { return Maps.toStringImpl(this); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/ForwardingMap.java
* forward to this implementation. * * @since 7.0 */ protected String standardToString() { return Maps.toStringImpl(this); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Aug 06 17:32:30 GMT 2025 - 9.8K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Tue Mar 17 15:51:42 GMT 2026 - 17.2K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
hashmap.put(null, "baz"); assertThat(Maps.toStringImpl(hashmap)).isEqualTo(hashmap.toString()); } public void testToStringImplWithNullValues() throws Exception { Map<String, @Nullable String> hashmap = new HashMap<>(); hashmap.put("foo", "bar"); hashmap.put("baz", null); assertThat(Maps.toStringImpl(hashmap)).isEqualTo(hashmap.toString()); } @J2ktIncompatible
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 13:01:07 GMT 2026 - 63.2K bytes - Click Count (0)