All Downloads are FREE. Search and download functionalities are using the official Maven repository.

java.lang.ref.WeakReference.scala Maven / Gradle / Ivy

The newest version!
/*
 * scalajs-weakreferences (https://github.com/scala-js/scala-js-weakreferences)
 *
 * Copyright EPFL.
 *
 * Licensed under Apache License 2.0
 * (https://www.apache.org/licenses/LICENSE-2.0).
 *
 * See the NOTICE file distributed with this work for
 * additional information regarding copyright ownership.
 */

package java.lang.ref

class WeakReference[T](referent: T, q: ReferenceQueue[_ >: T])
    extends Reference[T](referent, q) {

  def this(referent: T) = this(referent, null)
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy