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

Method toIterator

output/java_guava/1.4.19/Iterables.java:1064–1071  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1062 // Useful as a public method?
1063
1064 static <T> Function<Iterable<? extends T>, Iterator<? extends T>> toIterator() {
1065 return new Function<Iterable<? extends T>, Iterator<? extends T>>() {
1066 @Override
1067 public Iterator<? extends T> apply(Iterable<? extends T> iterable) {
1068 return iterable.iterator();
1069 }
1070 };
1071 }
1072}

Callers 2

iteratorMethod · 0.95
iteratorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected