メソッドチェーン対応

This commit is contained in:
r-ca 2024-01-21 16:34:07 +09:00
parent 28cae3fa19
commit df14850df1
No known key found for this signature in database
GPG Key ID: 6A72911AC73464A9

View File

@ -85,6 +85,8 @@ public class DocumentProcessorImpl implements DocumentProcessor{
logger.info("addNewPageToLast", "finished"); logger.info("addNewPageToLast", "finished");
logger.info("addNewPageToLast", "filename: " + filename); logger.info("addNewPageToLast", "filename: " + filename);
return this;
} }
@Override @Override
@ -94,6 +96,8 @@ public class DocumentProcessorImpl implements DocumentProcessor{
for (Bitmap bitmap : bitmaps) { for (Bitmap bitmap : bitmaps) {
addNewPageToLast(bitmap); addNewPageToLast(bitmap);
} // TODO-rca: 効率悪いので改善する } // TODO-rca: 効率悪いので改善する
return this;
} }
@Override @Override
@ -109,16 +113,18 @@ public class DocumentProcessorImpl implements DocumentProcessor{
this.documentDetail.getPages().add(index, page); this.documentDetail.getPages().add(index, page);
lacertaVcs.insertPage(index, filename); lacertaVcs.insertPage(index, filename);
return this;
} }
@Override @Override
public DocumentProcessor removePageAtIndex(int index) { public DocumentProcessor removePageAtIndex(int index) {
return null;
} }
@Override @Override
public DocumentProcessor updatePageAtIndex(Bitmap bitmap, int index) { public DocumentProcessor updatePageAtIndex(Bitmap bitmap, int index) {
return null;
} }
@Override @Override