Interface Cleanable

All Known Implementing Classes:
Transform

public interface Cleanable
An interface making an Object cleanable, meaning it needs a custom behavior before destruction
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    The actual behavior to execute before the Object's destructor is called
    default void
    Register the element to be cleared on program exit, must be called in the constructor
  • Method Details

    • cleanUp

      void cleanUp()
      The actual behavior to execute before the Object's destructor is called
    • initialize

      default void initialize()
      Register the element to be cleared on program exit, must be called in the constructor