public class LockableMGraphWrapperForTesting extends LockableMGraphWrapper
Constructor and Description |
---|
LockableMGraphWrapperForTesting(MGraph providedMGraph)
Constructs a LocalbleMGraph for an MGraph.
|
Modifier and Type | Method and Description |
---|---|
Iterator<Triple> |
filter(NonLiteral subject,
UriRef predicate,
Resource object)
Filters triples given a pattern.
|
Iterator<Triple> |
iterator() |
add, addAll, addGraphListener, addGraphListener, clear, contains, containsAll, equals, getGraph, getLock, hashCode, isEmpty, remove, removeAll, removeGraphListener, retainAll, size, toArray, toArray, toString
public LockableMGraphWrapperForTesting(MGraph providedMGraph)
providedMGraph
- a non-lockable mgraphpublic Iterator<Triple> filter(NonLiteral subject, UriRef predicate, Resource object)
TripleCollection
filter
in interface TripleCollection
filter
in class LockableMGraphWrapper
Iterator
public Iterator<Triple> iterator()
iterator
in interface Iterable<Triple>
iterator
in interface Collection<Triple>
iterator
in class LockableMGraphWrapper
Copyright © 2014 The Apache Software Foundation. All Rights Reserved.