Interface WeakItem

All Known Subinterfaces:
WeakRunnable

public interface WeakItem
Interface representing an item where underlying operations take place on a weakly-referenced object, where the outer object becomes effectively worthless once the outer object is GC'd.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
  • Method Details

    • isGone

      boolean isGone()
      Returns:
      true if and only if the item is gone, and thus this is no longer needed.