Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for toStringImpl (0.07 seconds)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableMap.java

        // in a way that modifies their hash codes
        return entrySet().hashCode();
      }
    
      @Override
      public String toString() {
        return Maps.toStringImpl(this);
      }
    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)
  8. android/guava/src/com/google/common/collect/ImmutableMap.java

      public int hashCode() {
        return Sets.hashCodeImpl(entrySet());
      }
    
      boolean isHashCodeFast() {
        return false;
      }
    
      @Override
      public String toString() {
        return Maps.toStringImpl(this);
      }
    
      /**
       * Serialized type for all ImmutableMap instances. It captures the logical contents and they are
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 41.2K bytes
    - Click Count (0)
  9. guava/src/com/google/common/collect/ImmutableMap.java

      public int hashCode() {
        return Sets.hashCodeImpl(entrySet());
      }
    
      boolean isHashCodeFast() {
        return false;
      }
    
      @Override
      public String toString() {
        return Maps.toStringImpl(this);
      }
    
      /**
       * Serialized type for all ImmutableMap instances. It captures the logical contents and they are
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 16:16:42 GMT 2026
    - 44.7K bytes
    - Click Count (0)
Back to Top