public abstract class AbstractGraph extends AbstractTripleCollection implements Graph
AbstractGraph
is an abstract implementation of Graph
implementing the equals
and the hashCode
methods.Constructor and Description |
---|
AbstractGraph() |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Triple e) |
boolean |
addAll(Collection<? extends Triple> c) |
void |
clear() |
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.
|
boolean |
remove(Object o) |
boolean |
removeAll(Collection<?> c) |
addGraphListener, addGraphListener, contains, dispatchEvent, filter, iterator, performAdd, performFilter, performRemove, removeGraphListener
containsAll, isEmpty, retainAll, size, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
addGraphListener, addGraphListener, filter, removeGraphListener
contains, containsAll, isEmpty, iterator, retainAll, size, toArray, toArray
public final int hashCode()
Graph
public boolean add(Triple e)
add
in interface Collection<Triple>
add
in class AbstractTripleCollection
public boolean addAll(Collection<? extends Triple> c)
addAll
in interface Collection<Triple>
addAll
in class AbstractCollection<Triple>
public boolean remove(Object o)
remove
in interface Collection<Triple>
remove
in class AbstractTripleCollection
public boolean removeAll(Collection<?> c)
removeAll
in interface Collection<Triple>
removeAll
in class AbstractTripleCollection
public void clear()
clear
in interface Collection<Triple>
clear
in class AbstractCollection<Triple>
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.