Package org.apache.jena.dboe.test
Class RecordLib
- java.lang.Object
-
- org.apache.jena.dboe.test.RecordLib
-
public class RecordLib extends java.lang.ObjectRecord support operations (mainly for testing using ints)
-
-
Field Summary
Fields Modifier and Type Field Description static RecordFactoryrecordFactorystatic intTestRecordLength
-
Constructor Summary
Constructors Constructor Description RecordLib()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RecordintToRecord(int v)static java.util.List<Record>intToRecord(int[] v)static java.util.List<Record>intToRecord(int[] v, int recLen)static RecordintToRecord(int v, int recLen)static RecordintToRecord(int v, RecordFactory factory)static Recordr(int v)static java.util.List<java.lang.Integer>r(java.util.Iterator<Record> iter)static intr(Record rec)static intrecordToInt(Record key)static java.util.List<java.lang.Integer>toIntList(int... vals)static java.util.List<java.lang.Integer>toIntList(java.util.Iterator<Record> iter)
-
-
-
Field Detail
-
TestRecordLength
public static final int TestRecordLength
- See Also:
- Constant Field Values
-
recordFactory
public static final RecordFactory recordFactory
-
-
Method Detail
-
intToRecord
public static Record intToRecord(int v)
-
intToRecord
public static Record intToRecord(int v, int recLen)
-
intToRecord
public static Record intToRecord(int v, RecordFactory factory)
-
intToRecord
public static java.util.List<Record> intToRecord(int[] v)
-
intToRecord
public static java.util.List<Record> intToRecord(int[] v, int recLen)
-
recordToInt
public static int recordToInt(Record key)
-
toIntList
public static java.util.List<java.lang.Integer> toIntList(java.util.Iterator<Record> iter)
-
r
public static Record r(int v)
-
r
public static int r(Record rec)
-
toIntList
public static java.util.List<java.lang.Integer> toIntList(int... vals)
-
r
public static java.util.List<java.lang.Integer> r(java.util.Iterator<Record> iter)
-
-