added method to find rows that match the condition#6
Open
frepe2013 wants to merge 1 commit intonobeans:masterfrom
Open
added method to find rows that match the condition#6frepe2013 wants to merge 1 commit intonobeans:masterfrom
frepe2013 wants to merge 1 commit intonobeans:masterfrom
Conversation
Owner
There was a problem hiding this comment.
もしかして、ここで渡しているA2というラベルの使われ方として、
- "2"行目以降の
- "A"列が空の行を探す
という2つの意味を持たせていますか?
Owner
|
上でコメントしたあたりの仕様などを整理してみますので、しばらくお待ちください。 |
Owner
|
結論から言うと、やり方をどこか(README, Wiki)で紹介するか、参考用の学習テストをつけるだけでよく、新規メソッドは不要だと思います。 ざっくり箇条書きで書くと
「何行目以降」を指定する部分が若干ごちゃっと見えますが、それ以外には特に問題なく使いやすいAPIかと思います。「何行目以降」の部分のために特別なAPIを用意することもできますが、今のところそこまでの価値は見いだせません。 以下のテストコードはマージ作業ブランチからの抜粋ですが、すべてグリーンです。 意図もハッキリしていて、暗黙的な規約もなくわかりやすいコードかと思いますがどうでしょう。 |
Contributor
Author
|
なるほど。ここまでシンプルでわかりやすく書けるんですね。これであれば、メソッド追加は不要で良いと思います。 |
030ec5c to
fdc3475
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
I have created a pull request, including the #3 and #4.
I have added method findEmptyRow, findByCellValue and findAllByCellValue.