=== (identical) operator

The non-associating, binary infix === operator is used to test whether its operands are identical

Usage

void m(Identifiable x, Identifiable y) {
    Boolean identical = x === y;
}

Description

Definition

The === operator is primitive.

Polymorphism

The === operator is not polymorphic.

Type

The result type of the === operator is Boolean.

Meaning of identical for built-in types

TODO

See also