Class FindableCollection

java.lang.Object
org.apache.jena.sparql.util.graph.FindableCollection
All Implemented Interfaces:
Findable

public class FindableCollection extends Object implements Findable
  • Constructor Summary

    Constructors
    Constructor
    Description
    FindableCollection(Collection<org.apache.jena.graph.Triple> triples)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    contains(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
    Return whether any triple matches the (s,p,o) pattern.
    Iterator<org.apache.jena.graph.Triple>
    find(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
    Return an iterator over all triples matching the (s,p,o) pattern.

    Methods inherited from class java.lang.Object

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

    Methods inherited from interface org.apache.jena.sparql.util.graph.Findable

    count
  • Constructor Details

    • FindableCollection

      public FindableCollection(Collection<org.apache.jena.graph.Triple> triples)
  • Method Details

    • find

      public Iterator<org.apache.jena.graph.Triple> find(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
      Description copied from interface: Findable
      Return an iterator over all triples matching the (s,p,o) pattern. Each element of (s,p,o) can be concrete, or the wildcard Node.ANY.
      Specified by:
      find in interface Findable
    • contains

      public boolean contains(org.apache.jena.graph.Node s, org.apache.jena.graph.Node p, org.apache.jena.graph.Node o)
      Description copied from interface: Findable
      Return whether any triple matches the (s,p,o) pattern. Each element of (s,p,o) can be concrete, or the wildcard Node.ANY.
      Specified by:
      contains in interface Findable