de.caff.generics.util

## Class SoftReferenceImpl<T>

- java.lang.Object
- - java.lang.ref.Reference<T>
  - - java.lang.ref.SoftReference<T>
    - - de.caff.generics.util.SoftReferenceImpl<T>

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

      class SoftReferenceImpl<T>
      extends java.lang.ref.SoftReference<T>
      implements IReference<T>

  Soft reference implementation.
  Author:
    Rammi

- - ### Field Summary

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

      `NULL_REF`

  - ### Constructor Summary

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

  - ### Method Summary

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

      `get`

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

      `clear, enqueue, 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

    - #### SoftReferenceImpl

          SoftReferenceImpl(T referent)

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