Any

open class Any(source)

The root of the Kotlin class hierarchy. Every Kotlin class has Any as a superclass.

Since Kotlin

1.0

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open operator fun equals(other: Any?): Boolean

Indicates whether some other object is "equal to" this one. Implementations must fulfil the following requirements:

Since Kotlin 1.0
Link copied to clipboard
open fun hashCode(): Int

Returns a hash code value for the object. The general contract of hashCode is:

Since Kotlin 1.0
Link copied to clipboard
open fun toString(): String

Returns a string representation of the object.

Since Kotlin 1.0
Link copied to clipboard

Returns a string representation of the object. Can be called with a null receiver, in which case it returns the string "null".

Since Kotlin 1.0