Introduce Range Query, Null and Generalized args generators in Java version#19
Introduce Range Query, Null and Generalized args generators in Java version#19Altickium wants to merge 4 commits intoITMO-PTDC-Team:masterfrom
Conversation
|
Для тестирования |
|
Хотя возможно даже не надо создавать адаптер, а просто передавать сам класс в качестве параметра
|
53caa4d to
40776f3
Compare
40776f3 to
05cfc5f
Compare
| public StringBuilder toStringBuilder(int indents) { | ||
| return new StringBuilder() | ||
| .append(indentedTitleWithData("Type", "Default", indents)) | ||
| .append(indentedTitleWithData("Type", "DEFAULT", indents)) |
There was a problem hiding this comment.
А у нас же у каждого ArgsGeneratorBuilder указано капсом
|
|
||
| int nextRemove(); | ||
|
|
||
| Pair<Integer, Integer> nextRange(); |
There was a problem hiding this comment.
как вариант, чтобы не приходилось постоянно прописывать:
@Override
public Pair<Integer, Integer> nextRange() {
throw new UnsupportedOperationException("Range Query not supported");
}можно переделать из интерфейса в абстрактный класс, и прописать под каждой операцией заглушку UnsupportedOperationException
No description provided.