><p>Constructs a new weak reference to the given referent. The newly created
 reference is registered with the given reference queue.</p></div>
  <div class="jd-tagdata">
      <h5 class="jd-tagtitle">Parameters</h5>
      <table class="jd-tagtable">
        <tr>
          <th>r</td>
          <td>the referent to track</td>
        </tr>
        <tr>
          <th>q</td>
          <td>the queue to register to the reference object with. A null value
          results in a weak reference that is not associate