Class WithResources.None

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Closeable get()
      Instantiate any necessary resources
      boolean isNoOp()
      A convenience method to avoid unnecessary work.
      • Methods inherited from class java.lang.Object

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

      • get

        public Closeable get()
        Description copied from interface: WithResources
        Instantiate any necessary resources
        Specified by:
        get in interface WithResources
        Returns:
        an object that closes any instantiated resources