public void add(SingleImageRecord record) {
        if (records == null)
            records = new ArrayList<>();
        records.add(record);
    }
public void add ( SingleImageRecord record ) { if ( records == null ) records = new ArrayList < > ( ) ; records . add ( record ) ; }
Add a record
@param record