| java.lang.Object com.hp.hpl.jena.mem.NodeToTriplesMapBase
All known Subclasses: com.hp.hpl.jena.mem.NodeToTriplesMap, com.hp.hpl.jena.mem.faster.NodeToTriplesMapFaster,
NodeToTriplesMapBase | abstract public class NodeToTriplesMapBase (Code) | | A base class for the "normal" and "faster" NodeToTriplesMaps.
author: kers |
Field Summary | |
public BunchMap | bunchMap The map from nodes to Bunch(Triple). | final protected Field | f2 | final protected Field | f3 | final protected Field | indexField | protected int | size The number of triples held in this NTM, maintained incrementally
(because it's a pain to compute from scratch). |
bunchMap | public BunchMap bunchMap(Code) | | The map from nodes to Bunch(Triple).
|
f2 | final protected Field f2(Code) | | |
f3 | final protected Field f3(Code) | | |
indexField | final protected Field indexField(Code) | | |
size | protected int size(Code) | | The number of triples held in this NTM, maintained incrementally
(because it's a pain to compute from scratch).
|
NodeToTriplesMapBase | public NodeToTriplesMapBase(Field indexField, Field f2, Field f3)(Code) | | |
add | abstract public boolean add(Triple t)(Code) | | Add 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.
|
clear | public void clear()(Code) | | Clear this NTM; it will contain no triples.
|
contains | abstract public boolean contains(Triple t)(Code) | | Answer true iff this NTM contains the concrete triple t .
|
containsBySameValueAs | abstract public boolean containsBySameValueAs(Triple t)(Code) | | |
domain | final public Iterator domain()(Code) | | The nodes which appear in the index position of the stored triples; useful
for eg listSubjects().
|
isEmpty | public boolean isEmpty()(Code) | | |
iteratorForIndexed | abstract public Iterator iteratorForIndexed(Object y)(Code) | | Answer an iterator over all the triples that are indexed by the item y .
Note that y need not be a Node (because of indexing values).
|
remove | abstract public boolean remove(Triple t)(Code) | | Remove t from this NTM. Answer true iff the
triple was previously in the set, ie, it really truly has been removed.
|
removedOneViaIterator | public void removedOneViaIterator()(Code) | | |
|
|