keyObject.equals(otherKeyObject)
-
otherKeyObject
:<KeyObject> 用于与keyObject
进行比较的KeyObject
。¥
otherKeyObject
: <KeyObject> AKeyObject
with which to comparekeyObject
. -
返回:<boolean>
¥Returns: <boolean>
根据键的类型、值和参数是否完全相同,返回 true
或 false
。这种方法不是 常量时间。
¥Returns true
or false
depending on whether the keys have exactly the same
type, value, and parameters. This method is not
constant time.