Package org.apache.jena.ontology
Class OntTools.PredicatesFilter
- java.lang.Object
-
- org.apache.jena.ontology.OntTools.PredicatesFilter
-
- All Implemented Interfaces:
java.util.function.Predicate<Statement>
- Enclosing class:
- OntTools
public static class OntTools.PredicatesFilter extends java.lang.Object implements java.util.function.Predicate<Statement>
A filter which accepts statements whose predicate matches one of a collection of predicates held by the filter object.
-
-
Constructor Summary
Constructors Constructor Description PredicatesFilter(java.util.Collection<Property> preds)
Accept statements with any predicate frompreds
PredicatesFilter(Property pred)
Accept statements with predicatepred
PredicatesFilter(Property[] preds)
Accept statements with any predicate frompreds
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
test(Statement s)
-
-
-
Field Detail
-
m_preds
public java.util.Collection<Property> m_preds
-
-
Constructor Detail
-
PredicatesFilter
public PredicatesFilter(java.util.Collection<Property> preds)
Accept statements with any predicate frompreds
-
PredicatesFilter
public PredicatesFilter(Property[] preds)
Accept statements with any predicate frompreds
-
PredicatesFilter
public PredicatesFilter(Property pred)
Accept statements with predicatepred
-
-