@Override public int indexOf(final RDFNode o) throws ReadDeniedException, AuthenticationRequiredException { checkRead(); final Statement stmt = containerIndexOf(o); if (stmt == null) { return 0; } checkRead(stmt); return stmt.getPredicate().getOrdinal(); }
@Override public boolean test(final Statement o) { return (o.getPredicate().getOrdinal() != 0) && n.equals(o.getObject()); }