Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getSinkContents (0.07 sec)

  1. guava-tests/test/com/google/common/io/SourceSinkFactories.java

          @Override
          public CharSink createSink() throws IOException {
            return factory.createSink().asCharSink(UTF_8);
          }
    
          @Override
          public String getSinkContents() throws IOException {
            return new String(factory.getSinkContents(), UTF_8);
          }
    
          @Override
          public String getExpected(String data) {
            /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/SourceSinkFactories.java

          @Override
          public CharSink createSink() throws IOException {
            return factory.createSink().asCharSink(UTF_8);
          }
    
          @Override
          public String getSinkContents() throws IOException {
            return new String(factory.getSinkContents(), UTF_8);
          }
    
          @Override
          public String getExpected(String data) {
            /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/io/ByteSinkTester.java

        sink.writeFrom(new ByteArrayInputStream(data));
    
        assertContainsExpectedBytes();
      }
    
      private void assertContainsExpectedBytes() throws IOException {
        assertArrayEquals(expected, factory.getSinkContents());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/ByteSinkTester.java

        sink.writeFrom(new ByteArrayInputStream(data));
    
        assertContainsExpectedBytes();
      }
    
      private void assertContainsExpectedBytes() throws IOException {
        assertArrayEquals(expected, factory.getSinkContents());
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/io/SourceSinkFactory.java

      public interface SinkFactory<S, T> extends SourceSinkFactory<S, T> {
    
        /** Creates a new sink. */
        S createSink() throws IOException;
    
        /** Gets the current content of the created sink. */
        T getSinkContents() throws IOException;
      }
    
      /** Factory for {@link ByteSource} instances. */
      public interface ByteSourceFactory extends SourceFactory<ByteSource, byte[]> {}
    
      /** Factory for {@link ByteSink} instances. */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3K bytes
    - Viewed (0)
Back to top