class ReusableRecordsCompositeAllocator implements DynamicRecordAllocator {

    @Override
    public DynamicRecord nextRecord()
    {
        return reusableRecordsAllocator.hasNext() ? reusableRecordsAllocator.nextRecord() : recordAllocator.nextRecord();
    }

    public  ReusableRecordsCompositeAllocator( Collection<DynamicRecord> records,
            DynamicRecordAllocator recordAllocator );
    public  ReusableRecordsCompositeAllocator( Iterator<DynamicRecord> recordsIterator,
            DynamicRecordAllocator recordAllocator );

}