Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for testWriteMethods (0.11 sec)

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

          return this;
        }
    
        @Override
        public void flush() {
          flushed = true;
        }
    
        @Override
        public void close() {
          closed = true;
        }
      }
    
      public void testWriteMethods() throws IOException {
        StringBuilder builder = new StringBuilder();
        Writer writer = new AppendableWriter(builder);
    
        writer.write("Hello".toCharArray());
        writer.write(',');
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 3.2K bytes
    - Viewed (0)
Back to top