Package 

Interface Closeable

  • All Implemented Interfaces:

    
    public interface Closeable
    
                        

    A Closeable is an object holding closeable resources, such as open files or streams.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Unit close() Closes this object and releases any resources associated with it.
      • Methods inherited from class java.lang.Object

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

    • Method Detail

      • close

         abstract Unit close()

        Closes this object and releases any resources associated with it. If the object is already closed then invoking this method has no effect.