Module javafx.base
Package javafx.beans

Interface WeakListener

    • Method Detail

      • wasGarbageCollected

        boolean wasGarbageCollected​()
        Returns true if the linked listener was garbage-collected. In this case, the listener can be removed from the observable.
        Returns:
        true if the linked listener was garbage-collected.