Packages

final case class RefId[E <: AnyRef](e: E) extends Product with Serializable

A wrapper for a value, which uses reference equality of the wrapped value as its own equality. This can be used, for example, to get the equivalent of an IdentityHashMap from a regular HashMap.

Source
RefId.scala
Linear Supertypes
Serializable, Product, Equals, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RefId
  2. Serializable
  3. Product
  4. Equals
  5. AnyRef
  6. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new RefId(e: E)

Value Members

  1. def apply(): E
  2. val e: E
  3. def equals(o: Any): Boolean
    Definition Classes
    RefId → Equals → AnyRef → Any
  4. def hashCode(): Int
    Definition Classes
    RefId → AnyRef → Any
  5. def productElementNames: Iterator[String]
    Definition Classes
    Product
  6. def toString(): String
    Definition Classes
    RefId → AnyRef → Any