Class TripleMatchFilter

java.lang.Object
org.aksw.jena_sparql_api.core.utils.TripleMatchFilter
All Implemented Interfaces:
Predicate<org.apache.jena.graph.Triple>

public class TripleMatchFilter extends Object implements Predicate<org.apache.jena.graph.Triple>
Backport of the triple match filter ; simply because it was referenced in one place
Author:
raven
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    protected final org.apache.jena.graph.Triple
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    TripleMatchFilter(org.apache.jena.graph.Triple tMatch)
    Creates new TripleMatchFilter
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    test(org.apache.jena.graph.Triple t)
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface java.util.function.Predicate

    and, negate, or
  • Field Details

    • tMatch

      protected final org.apache.jena.graph.Triple tMatch
  • Constructor Details

    • TripleMatchFilter

      public TripleMatchFilter(org.apache.jena.graph.Triple tMatch)
      Creates new TripleMatchFilter
  • Method Details

    • test

      public boolean test(org.apache.jena.graph.Triple t)
      Specified by:
      test in interface Predicate<org.apache.jena.graph.Triple>