MCPcopy Create free account
hub / github.com/antlr/codebuff / iterator

Method iterator

corpus/java/training/guava/base/Splitter.java:139–152  ·  view source on GitHub ↗
(Splitter splitter, final CharSequence toSplit)

Source from the content-addressed store, hash-verified

137 return new Splitter(
138 new Strategy() {
139 @Override
140 public SplittingIterator iterator(Splitter splitter, final CharSequence toSplit) {
141 return new SplittingIterator(splitter, toSplit) {
142 @Override
143 int separatorStart(int start) {
144 return separatorMatcher.indexIn(toSplit, start);
145 }
146
147 @Override
148 int separatorEnd(int separatorPosition) {
149 return separatorPosition + 1;
150 }
151 };
152 }
153 });
154 }
155

Callers

nothing calls this directly

Calls 1

splittingIteratorMethod · 0.95

Tested by

no test coverage detected