public interface ImmutableGraph extends Graph
Graphs 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.
org.apache.clerezza.rdf.core.impl.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.
|
filter, getImmutableGraph, getLockadd, addAll, clear, contains, containsAll, isEmpty, iterator, parallelStream, remove, removeAll, removeIf, retainAll, size, spliterator, stream, toArray, toArrayboolean equals(Object obj)
int hashCode()
hashCode in interface Collection<Triple>hashCode in class ObjectCopyright © 2015–2022 The Apache Software Foundation. All rights reserved.