public static class OntTools.PredicatesFilter extends Object implements java.util.function.Predicate<Statement>
Modifier and Type | Field and Description |
---|---|
Collection<Property> |
m_preds |
Constructor and Description |
---|
PredicatesFilter(Collection<Property> preds)
Accept statements with any predicate from
preds |
PredicatesFilter(Property pred)
Accept statements with predicate
pred |
PredicatesFilter(Property[] preds)
Accept statements with any predicate from
preds |
Modifier and Type | Method and Description |
---|---|
boolean |
test(Statement s) |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
and, isEqual, negate, or
public Collection<Property> m_preds
public PredicatesFilter(Collection<Property> preds)
preds
public PredicatesFilter(Property[] preds)
preds
public PredicatesFilter(Property pred)
pred
public boolean test(Statement s)
test
in interface java.util.function.Predicate<Statement>
Licenced under the Apache License, Version 2.0