ObjectIdentifier
A instance holder class serving as an object identifier for that instance reference.
This class is used to create a unique identifier for an object based on its memory address, relying on Java's [System.identityHashCode]
. It provides a way to compare object references and equality check is implemented using reference equality (===
).
This class is useful for creating unique identifiers for objects based on their memory address.
Parameters
T
The type of the object to identify.