Class StringConstructBenchmark.WriterState

  • Enclosing class:
    StringConstructBenchmark

    public static class StringConstructBenchmark.WriterState
    extends java.lang.Object
    A state holding a Writer object which is initialized only once at the beginning of the benchmark.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      java.io.Writer writer  
    • Constructor Summary

      Constructors 
      Constructor Description
      WriterState()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void setup()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • writer

        public java.io.Writer writer
    • Constructor Detail

      • WriterState

        public WriterState()
    • Method Detail

      • setup

        public void setup()