Ejemplo n.º 1
0
 /** Return the derivation of at triple. The derivation is a List of DerivationRecords */
 @Override
 public Iterator<Derivation> getDerivation(Triple t) {
   if (derivations == null) {
     return new NullIterator<Derivation>();
   } else {
     return derivations.getAll(t);
   }
 }
Ejemplo n.º 2
0
 /** Log a dervivation record against the given triple. */
 @Override
 public void logDerivation(Triple t, Derivation derivation) {
   derivations.put(t, derivation);
 }