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

Method iterator

output/java_guava/1.4.19/Splitter.java:141–155  ·  view source on GitHub ↗
(
                            Splitter splitter, final CharSequence toSplit)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

splittingIteratorMethod · 0.95

Tested by

no test coverage detected