Home » JDO » Predefined ID Classes » ObjectIdentity » equals(obj) - JDO ObjectIdentity's method

equals(obj) - JDO ObjectIdentity's method

Method
javax.jdo.identity.ObjectIdentity
boolean equals(
  Object obj
)

Determine if the other object represents the same object id.
Parameters:
obj - the other object
Returns:
true if both objects represent the same object id
Since:
JDO 1.0

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.