Class BGPImpl

java.lang.Object
se.liu.ida.hefquin.base.query.impl.BGPImpl
All Implemented Interfaces:
BGP, Query, SPARQLGraphPattern
Direct Known Subclasses:
StarPattern

public class BGPImpl extends Object implements BGP
  • Constructor Details

  • Method Details

    • getTriplePatterns

      public Set<TriplePattern> getTriplePatterns()
      Description copied from interface: BGP
      Returns an unmodifiable set of triple patterns.
      Specified by:
      getTriplePatterns in interface BGP
    • addTriplePattern

      public void addTriplePattern(TriplePattern tp)
    • toString

      public String toString()
      Description copied from interface: BGP
      Returns a string representation of the BGP
      Specified by:
      toString in interface BGP
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object