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, sizepublic NodeToTriplesMap(Triple.Field indexField, Triple.Field f2, Triple.Field f3)
public boolean add(Triple t)
NodeToTriplesMapBaset 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 NodeToTriplesMapBasepublic boolean remove(Triple t)
NodeToTriplesMapBaset from this NTM. Answer true iff the
triple was previously in the set, ie, it really truly has been removed.remove in class NodeToTriplesMapBasepublic ExtendedIterator<Triple> iterator(Object o, HashCommon.NotifyEmpty container)
iterator in class NodeToTriplesMapBasepublic boolean contains(Triple t)
NodeToTriplesMapBaset.contains in class NodeToTriplesMapBasepublic boolean containsBySameValueAs(Triple t)
containsBySameValueAs in class NodeToTriplesMapBasepublic ExtendedIterator<Triple> iterateAll(Triple pattern)
public ExtendedIterator<Triple> iterator(Node index, Node n2, Node n3)
iterator in class NodeToTriplesMapBasepublic Iterator<Triple> iteratorForIndexed(Object y)
y.
Note that y need not be a Node (because of indexing values).iteratorForIndexed in class NodeToTriplesMapBaseLicenced under the Apache License, Version 2.0