java.lang.Object
org.apache.jena.mem.NodeToTriplesMapBase
org.apache.jena.mem.NodeToTriplesMapMem
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class org.apache.jena.mem.NodeToTriplesMapBase
bunchMap
-
Constructor Summary
ConstructorsConstructorDescriptionNodeToTriplesMapMem
(Triple.Field indexField, Triple.Field f2, Triple.Field f3) -
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
iterator
(Object o, HashCommon.NotifyEmpty container) Answer an iterator over all the triples in this NTM which have index nodeo
.Answer an iterator over all the triples in this NTM which matchpattern
.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
-
NodeToTriplesMapMem
-
-
Method Details
-
add
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
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
Answer an iterator over all the triples in this NTM which have index nodeo
.- Specified by:
iterator
in classNodeToTriplesMapBase
-
contains
Answer true iff this NTM contains the concrete triplet
.- Specified by:
contains
in classNodeToTriplesMapBase
-
containsBySameValueAs
- Specified by:
containsBySameValueAs
in classNodeToTriplesMapBase
-
iterator
Answer an iterator over all the triples in this NTM which matchpattern
. The index field of this NTM is guaranteed concrete in the pattern.- 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
-