/** Add all the statements to the model by converting them to an array of corresponding triples and removing those from the underlying graph. */ @Override public Model add( Statement [] statements ) { GraphUtil.add(getGraph(), StatementImpl.asTriples( statements ) ); return this; }
/** Add all the statements to the model by converting the list to an array of Statement and removing that. */ @Override public Model add( List<Statement> statements ) { GraphUtil.add(getGraph(), asTriples( statements ) ); return this; }
@Override public Model add( StmtIterator iter ) { try { GraphUtil.add( getGraph(), asTriples( iter ) ); } finally { iter.close(); } return this; }