Proxy

@deprecated("Explicitly override hashCode, equals and toString instead.", "2.13.0") trait Proxy

This class implements a simple proxy that forwards all calls to the public, non-final methods defined in class Any to another object self.

This class implements a simple proxy that forwards all calls to the public, non-final methods defined in class Any to another object self. Those methods are:

def hashCode(): Int
def equals(other: Any): Boolean
def toString(): String

Note: forwarding methods in this way will most likely create an asymmetric equals method, which is not generally recommended.

Companion
object
Deprecated
class Any

Value members

Abstract methods

def self: Any

Concrete methods

override def equals(that: Any): Boolean
Definition Classes
Any
override def hashCode: Int
Definition Classes
Any
override def toString: String
Definition Classes
Any