public interface Graph extends TripleCollection
Graph
s may be equal (isomorphic)
even if the set of triples are not.
Implementations MUST be immutable and throw respective exceptions, when
add/remove-methods are called.AbstractGraph
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Returns true if two graphs are isomorphic
|
int |
hashCode()
Return the sum of the blank-nodes independent hashes of the triples.
|
addGraphListener, addGraphListener, filter, removeGraphListener
boolean equals(Object obj)
equals
in interface Collection<Triple>
equals
in class Object
int hashCode()
hashCode
in interface Collection<Triple>
hashCode
in class Object
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.