de.caff.generics.util

## Class WeakReferenceImpl<T>

- java.lang.Object
- - java.lang.ref.Reference<T>
  - - java.lang.ref.WeakReference<T>
    - - de.caff.generics.util.WeakReferenceImpl<T>

- Type Parameters:
    `T` - reference type
  All Implemented Interfaces:
    IReference<T>

      class WeakReferenceImpl<T>
      extends java.lang.ref.WeakReference<T>
      implements IReference<T>

  Weak reference implementation.
  Author:
    Rammi

- - ### Field Summary

    - ### Fields inherited from interface de.caff.generics.util.IReference

      `NULL_REF`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `WeakReferenceImpl(T referent)` Creates a new weak reference that refers to the given object.

  - ### Method Summary

    - ### Methods inherited from class java.lang.ref.Reference

      `clear, enqueue, get, isEnqueued`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

    - ### Methods inherited from interface de.caff.generics.util.IReference

      `get, hard, isNull, nullRef, soft, weak`

- - ### Constructor Detail

    - #### WeakReferenceImpl

          WeakReferenceImpl(T referent)

      Creates a new weak reference that refers to the given object. The new reference is not registered with any queue.
      Parameters:
        `referent` - object the new weak reference will refer to