Search in sources :

Example 1 with RecordLib.intToRecord

use of org.apache.jena.dboe.test.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;
}
Also used : RecordLib.intToRecord(org.apache.jena.dboe.test.RecordLib.intToRecord) Record(org.apache.jena.dboe.base.record.Record)

Aggregations

Record (org.apache.jena.dboe.base.record.Record)1 RecordLib.intToRecord (org.apache.jena.dboe.test.RecordLib.intToRecord)1