Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for nullWriter (0.04 sec)

  1. guava/src/com/google/common/io/CharStreams.java

       * <p><b>Java 11+ users:</b> use {@link Writer#nullWriter()} instead. Note that the {@link
       * CharStreams} method returns a singleton writer whose {@code close} method has no effect, while
       * the {@link Writer#nullWriter()} method returns a new instance whose methods throw after the
       * instance is {@link Writer#close() closed}.
       *
       * @since 15.0
       */
      public static Writer nullWriter() {
        return NullWriter.INSTANCE;
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jul 30 17:25:01 UTC 2025
    - 10.9K bytes
    - Viewed (0)
Back to top