public class NodeToTriplesMap extends NodeToTriplesMapBase
bunchMap
Constructor and Description |
---|
NodeToTriplesMap(Triple.Field indexField,
Triple.Field f2,
Triple.Field f3) |
Modifier and Type | Method and Description |
---|---|
boolean |
add(Triple t)
Add
t to this NTM; the node o must
be the index node of the triple. |
boolean |
contains(Triple t)
Answer true iff this NTM contains the concrete triple
t . |
boolean |
containsBySameValueAs(Triple t) |
ExtendedIterator<Triple> |
iterateAll(Triple pattern) |
ExtendedIterator<Triple> |
iterator(Node index,
Node n2,
Node n3) |
ExtendedIterator<Triple> |
iterator(Object o,
HashCommon.NotifyEmpty container) |
Iterator<Triple> |
iteratorForIndexed(Object y)
Answer an iterator over all the triples that are indexed by the item
y . |
boolean |
remove(Triple t)
Remove
t from this NTM. |
clear, domain, isEmpty, iterateAll, removedOneViaIterator, size
public NodeToTriplesMap(Triple.Field indexField, Triple.Field f2, Triple.Field f3)
public boolean add(Triple t)
NodeToTriplesMapBase
t
to this NTM; the node o
must
be the index node of the triple. Answer true
iff the triple
was not previously in the set, ie, it really truly has been added.add
in class NodeToTriplesMapBase
public boolean remove(Triple t)
NodeToTriplesMapBase
t
from this NTM. Answer true
iff the
triple was previously in the set, ie, it really truly has been removed.remove
in class NodeToTriplesMapBase
public ExtendedIterator<Triple> iterator(Object o, HashCommon.NotifyEmpty container)
iterator
in class NodeToTriplesMapBase
public boolean contains(Triple t)
NodeToTriplesMapBase
t
.contains
in class NodeToTriplesMapBase
public boolean containsBySameValueAs(Triple t)
containsBySameValueAs
in class NodeToTriplesMapBase
public ExtendedIterator<Triple> iterateAll(Triple pattern)
public ExtendedIterator<Triple> iterator(Node index, Node n2, Node n3)
iterator
in class NodeToTriplesMapBase
public Iterator<Triple> iteratorForIndexed(Object y)
y
.
Note that y
need not be a Node (because of indexing values).iteratorForIndexed
in class NodeToTriplesMapBase
Licenced under the Apache License, Version 2.0