Hashed

class Hashed[T](val value: T)(`evidence$2`: Eq[T])

Wraps provided value together with its hashCode. Equals is overridden to first check hashCode and then delegate to the wrapped value.

Wraps provided value together with its hashCode. Equals is overridden to first check hashCode and then delegate to the wrapped value.

Value Params
value

wrapped value

Companion
object
class Object
trait Matchable
class Any

Value members

Concrete methods

override def equals(other: Any): Boolean
Definition Classes
Any

Concrete fields

override val hashCode: Int
val value: T