Class AutoClosableThat<T extends java.lang.AutoCloseable>

  • All Implemented Interfaces:
    Quality<T>

    public final class AutoClosableThat<T extends java.lang.AutoCloseable>
    extends QualityComposition<T>
    A Quality of an AutoCloseable object. It delegates to another Quality and calls AutoCloseable.close() afterwards.
    • Method Summary

      • Methods inherited from class java.lang.Object

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

      • AutoClosableThat

        public AutoClosableThat​(Quality<? super T> delegate)