de.fau.cs.www8.jadeowlcodec.triplestore
Class SimpleTriple

java.lang.Object
  extended by de.fau.cs.www8.jadeowlcodec.triplestore.AbsTriple
      extended by de.fau.cs.www8.jadeowlcodec.triplestore.SimpleTriple
All Implemented Interfaces:
Triple, java.lang.Cloneable, java.lang.Comparable<SimpleTriple>

public class SimpleTriple
extends AbsTriple
implements java.lang.Cloneable, java.lang.Comparable<SimpleTriple>, Triple

A mutable, non-canonicalized Triple, lightweight triple implementations

Author:
Ulf Schreiber

Constructor Summary
SimpleTriple(Triple in)
           
SimpleTriple(Uri s, Uri p, AbsUriOrValue o)
           
 
Method Summary
 int hashCode()
           
protected  AbsUriOrValue[] lookAtSpo()
          like lookAtSpo but without any protection against write access
 
Methods inherited from class de.fau.cs.www8.jadeowlcodec.triplestore.AbsTriple
check, clone, compareTo, compareTo, compareTo, equals, equals, getIndex, getIndex, getO, getP, getS, readSpo, toString, writeDigTellABox
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 
Methods inherited from interface de.fau.cs.www8.jadeowlcodec.triplestore.Triple
clone, compareTo, equals, getIndex, getIndex, getO, getP, getS, readSpo, toString, writeDigTellABox
 

Constructor Detail

SimpleTriple

public SimpleTriple(Uri s,
                    Uri p,
                    AbsUriOrValue o)

SimpleTriple

public SimpleTriple(Triple in)
Method Detail

hashCode

public int hashCode()
Specified by:
hashCode in interface Triple
Overrides:
hashCode in class java.lang.Object

lookAtSpo

protected AbsUriOrValue[] lookAtSpo()
Description copied from class: AbsTriple
like lookAtSpo but without any protection against write access

Returns:
AbsUriOrValue[]


Copyright 2007 Moritz Goeb, Bernhard Schiemann, Ulf Schreiber of Chair of Artificial Intelligence, University of Erlangen-Nuremberg