/** * Sets the first (and possibly only) Model found/created by the scan. * @param model the Model * @return this ScannerOutput (useful for chaining) */ public synchronized ScannerOutput<M> setModel(M model) { return setModels(Collections.singletonList(model)); }
/** * Sets the first (and possibly only) Model found/created by the scan. * @param model the Model * @return this ScannerOutput (useful for chaining) */ public synchronized ScannerOutput<M> setModel(M model) { return setModels(Collections.singletonList(model)); }