- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for toStringImpl (0.07 sec)
-
guava/src/com/google/common/collect/ForwardingMap.java
* forward to this implementation. * * @since 7.0 */ protected String standardToString() { return Maps.toStringImpl(this); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 9.8K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ForwardingMap.java
* forward to this implementation. * * @since 7.0 */ protected String standardToString() { return Maps.toStringImpl(this); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Aug 06 17:32:30 UTC 2025 - 9.8K bytes - Viewed (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); assertEquals(list.toString(), Collections2.toStringImpl(list)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.1K bytes - Viewed (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); assertEquals(list.toString(), Collections2.toStringImpl(list)); }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 20.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/MapsTest.java
hashmap.put(null, "baz"); assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap)); } public void testToStringImplWithNullValues() throws Exception { Map<String, @Nullable String> hashmap = new HashMap<>(); hashmap.put("foo", "bar"); hashmap.put("baz", null); assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap)); } @J2ktIncompatible
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 62.7K bytes - Viewed (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(", ");
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 22.6K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/MapsTest.java
hashmap.put(null, "baz"); assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap)); } public void testToStringImplWithNullValues() throws Exception { Map<String, @Nullable String> hashmap = new HashMap<>(); hashmap.put("foo", "bar"); hashmap.put("baz", null); assertEquals(hashmap.toString(), Maps.toStringImpl(hashmap)); } @J2ktIncompatible
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Dec 11 22:56:33 UTC 2025 - 65K bytes - Viewed (0) -
guava/src/com/google/common/collect/Maps.java
Map<?, ?> o = (Map<?, ?>) object; return map.entrySet().equals(o.entrySet()); } return false; } /** An implementation of {@link Map#toString}. */ static String toStringImpl(Map<?, ?> map) { StringBuilder sb = Collections2.newStringBuilderForCollection(map.size()).append('{'); boolean first = true; for (Entry<?, ?> entry : map.entrySet()) { if (!first) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Nov 17 22:50:48 UTC 2025 - 163.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/Maps.java
Map<?, ?> o = (Map<?, ?>) object; return map.entrySet().equals(o.entrySet()); } return false; } /** An implementation of {@link Map#toString}. */ static String toStringImpl(Map<?, ?> map) { StringBuilder sb = Collections2.newStringBuilderForCollection(map.size()).append('{'); boolean first = true; for (Entry<?, ?> entry : map.entrySet()) { if (!first) {
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue Sep 23 17:50:58 UTC 2025 - 157.6K bytes - Viewed (0)