Class Intersection

All Implemented Interfaces:
Graph, GraphWithPerform

public class Intersection extends Dyadic implements Graph
The dynamic intersection of two graphs L and R. add() affects both L and R, whereas delete() affects L only.
  • Constructor Details

    • Intersection

      public Intersection(Graph L, Graph R)
  • Method Details

    • performAdd

      public void performAdd(Triple t)
      Description copied from class: GraphBase
      Add a triple to the triple store. The default implementation throws an AddDeniedException; subclasses must override if they want to be able to add triples.
      Specified by:
      performAdd in interface GraphWithPerform
      Overrides:
      performAdd in class GraphBase
    • performDelete

      public void performDelete(Triple t)
      Description copied from class: GraphBase
      Remove a triple from the triple store. The default implementation throws a DeleteDeniedException; subclasses must override if they want to be able to remove triples.
      Specified by:
      performDelete in interface GraphWithPerform
      Overrides:
      performDelete in class GraphBase