JTP API Documentation

jtp.classifier
Class TripleSet

java.lang.Object
  |
  +--jtp.classifier.TripleSet

public class TripleSet
extends Object

Main class


Field Summary
protected  Triple _tmpTriple1
           
protected  Triple _tmpTriple2
           
protected  TreeSet _tsTriple
          Data Members
 
Constructor Summary
TripleSet()
          Methods
 
Method Summary
 void addTriple(Resource o1, Resource o2, Resource o3)
           
 void addTripleSet(SortedSet other)
           
 void clearAllTriples()
           
 SortedSet getAllTriples()
           
 SortedSet getTripleSet(Resource o1)
           
 SortedSet getTripleSet(Resource o1, Resource o2)
           
 boolean isTriple(Resource o1, Resource o2, Resource o3)
           
 void removeTriple(Resource o1, Resource o2, Resource o3)
           
 void removeTripleSet(SortedSet other)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

_tsTriple

protected TreeSet _tsTriple
Data Members


_tmpTriple1

protected Triple _tmpTriple1

_tmpTriple2

protected Triple _tmpTriple2
Constructor Detail

TripleSet

public TripleSet()
Methods

Method Detail

addTriple

public void addTriple(Resource o1,
                      Resource o2,
                      Resource o3)

addTripleSet

public void addTripleSet(SortedSet other)

removeTriple

public void removeTriple(Resource o1,
                         Resource o2,
                         Resource o3)

removeTripleSet

public void removeTripleSet(SortedSet other)

isTriple

public boolean isTriple(Resource o1,
                        Resource o2,
                        Resource o3)

getTripleSet

public SortedSet getTripleSet(Resource o1,
                              Resource o2)

getTripleSet

public SortedSet getTripleSet(Resource o1)

getAllTriples

public SortedSet getAllTriples()

clearAllTriples

public void clearAllTriples()

JTP API Documentation