java.lang.Object
org.apache.jena.mem.NodeToTriplesMapBase
org.apache.jena.mem.NodeToTriplesMap
NodeToTriplesMap: a map from nodes to sets of triples.
Subclasses must override at least one of useXXXInFilter methods.
-
Field Summary
Fields inherited from class org.apache.jena.mem.NodeToTriplesMapBase
bunchMap
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
Addt
to this NTM; the nodeo
must be the index node of the triple.boolean
Answer true iff this NTM contains the concrete triplet
.boolean
iterateAll
(Triple pattern) iterator
(Object o, HashCommon.NotifyEmpty container) Answer an iterator over all the triples that are indexed by the itemy
.boolean
Removet
from this NTM.Methods inherited from class org.apache.jena.mem.NodeToTriplesMapBase
clear, domain, isEmpty, iterateAll, removedOneViaIterator, size
-
Constructor Details
-
NodeToTriplesMap
-
-
Method Details
-
add
Description copied from class:NodeToTriplesMapBase
Addt
to this NTM; the nodeo
must be the index node of the triple. Answertrue
iff the triple was not previously in the set, ie, it really truly has been added.- Specified by:
add
in classNodeToTriplesMapBase
-
remove
Description copied from class:NodeToTriplesMapBase
Removet
from this NTM. Answertrue
iff the triple was previously in the set, ie, it really truly has been removed.- Specified by:
remove
in classNodeToTriplesMapBase
-
iterator
- Specified by:
iterator
in classNodeToTriplesMapBase
-
contains
Description copied from class:NodeToTriplesMapBase
Answer true iff this NTM contains the concrete triplet
.- Specified by:
contains
in classNodeToTriplesMapBase
-
containsBySameValueAs
- Specified by:
containsBySameValueAs
in classNodeToTriplesMapBase
-
iterateAll
-
iterator
- Specified by:
iterator
in classNodeToTriplesMapBase
-
iteratorForIndexed
Answer an iterator over all the triples that are indexed by the itemy
. Note thaty
need not be a Node (because of indexing values).- Specified by:
iteratorForIndexed
in classNodeToTriplesMapBase
-