/** Answer true if the last link on the path has object equal to <code>n</code> */ public boolean hasTerminus(RDFNode n) { return n != null && n.equals(getTerminal()); }
@Override public boolean test(final Statement o) { return (o.getPredicate().getOrdinal() != 0) && n.equals(o.getObject()); }