diff --git a/interface-spec.html b/interface-spec.html index 37b4bec..ff83139 100644 --- a/interface-spec.html +++ b/interface-spec.html @@ -356,8 +356,20 @@
NamedNode
, BlankNode
or Variable
.
- equals() returns true
if and only if the argument is a) of the same
- type b) has all components equal.
+ equals() returns true
+ when called with parameter other
+ on an object quad
if and only if
+ all of the conditions below hold:
+
other
is neither null
nor undefined
;quad.subject.equals(other.subject)
evaluates to true
;quad.predicate.equals(other.predicate)
evaluates to true
;quad.object.equals(other.object)
evaluates to a true
;quad.graph.equals(other.graph)
evaluates to a true
;
+ otherwise, it returns false
.