MCPcopy Create free account
hub / github.com/apache/tomcat / sort

Method sort

java/org/apache/el/stream/Stream.java:183–191  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

181 }
182
183 @SuppressWarnings({ "rawtypes", "unchecked" })
184 private void sort() {
185 List list = new ArrayList<>();
186 while (iterator.hasNext()) {
187 list.add(iterator.next());
188 }
189 Collections.sort(list);
190 sorted = list.iterator();
191 }
192 };
193 return new Stream(downStream);
194 }

Callers 1

findNextMethod · 0.95

Calls 4

hasNextMethod · 0.65
addMethod · 0.65
nextMethod · 0.65
iteratorMethod · 0.45

Tested by

no test coverage detected