use of org.apache.jena.tdb.base.record.RecordLib.intToRecord in project jena by apache.
the class TestRecordBuffer method make.
private static RecordBuffer make(int n, int len) {
RecordBuffer rb = new RecordBuffer(recordFactory, len);
for (int i = 0; i < n; i++) {
Record r = RecordLib.intToRecord(2 * i + 2);
rb.add(r);
}
return rb;
}
Aggregations