public class EnrichmentTriples extends AbstractMGraph
Constructor and Description |
---|
EnrichmentTriples(TripleCollection base,
Collection<Enricher> enrichers) |
Modifier and Type | Method and Description |
---|---|
protected Iterator<Triple> |
performFilter(NonLiteral subject,
UriRef predicate,
Resource object)
A subclass of
AbstractTripleCollection should override
this method instead of filter for graph event support to be
added. |
int |
size() |
getGraph
add, addGraphListener, addGraphListener, contains, dispatchEvent, filter, iterator, performAdd, performRemove, remove, removeAll, removeGraphListener
addAll, clear, containsAll, isEmpty, retainAll, toArray, toArray, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addGraphListener, addGraphListener, filter, removeGraphListener
public EnrichmentTriples(TripleCollection base, Collection<Enricher> enrichers)
protected Iterator<Triple> performFilter(NonLiteral subject, UriRef predicate, Resource object)
AbstractTripleCollection
AbstractTripleCollection
should override
this method instead of filter
for graph event support to be
added. The Iterator returned by filter
will dispatch a
GraphEvent after invoking the remove method of the iterator returned by
this method.performFilter
in class AbstractTripleCollection
public int size()
size
in interface Collection<Triple>
size
in class AbstractCollection<Triple>
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.