Uses of Class java.lang.ref.Reference

Uses in package java.lang.ref

Classes derived from java.lang.ref.Reference

class
A phantom reference is useful, to get notified, when an object got finalized.
class
A soft reference will be cleared, if the object is only softly reachable and the garbage collection needs more memory.
class
A weak reference will be cleared, if the object is only weakly reachable.