This commit is contained in:
Looly
2023-03-25 11:36:23 +08:00
parent af1ac9c121
commit bece00d176
6 changed files with 156 additions and 81 deletions

View File

@@ -74,7 +74,7 @@ public class SplitIterTest {
final String str1 = "a, ,,efedsfs, ddf,";
final SplitIter splitIter = new SplitIter(str1,
new StrFinder("e", false),
StrFinder.of("e", false),
Integer.MAX_VALUE,
true
);
@@ -141,7 +141,7 @@ public class SplitIterTest {
public void splitByEmptyTest(){
final String text = "aa,bb,cc";
final SplitIter splitIter = new SplitIter(text,
new StrFinder("", false),
StrFinder.of("", false),
3,
false
);