MCPcopy Index your code
hub / github.com/apache/tomcat / toArray

Method toArray

java/org/apache/el/stream/Stream.java:356–362  ·  view source on GitHub ↗

Returns an array containing all the elements of this stream. @return the array of elements

()

Source from the content-addressed store, hash-verified

354 * @return the array of elements
355 */
356 public Object[] toArray() {
357 List<Object> result = new ArrayList<>();
358 while (iterator.hasNext()) {
359 result.add(iterator.next());
360 }
361 return result.toArray(new Object[0]);
362 }
363
364
365 /**

Callers 15

getItemsMethod · 0.45
initMethod · 0.45
initClassLoaderMethod · 0.45
getTagFileMethod · 0.45
getTagLibraryInfosMethod · 0.45
TagLibraryInfoImplMethod · 0.45
getTagLibraryInfosMethod · 0.45
createTagInfoMethod · 0.45
parseJavacMessageMethod · 0.45
getTagInfoMethod · 0.45
checkCompileMethod · 0.45
checkUnloadMethod · 0.45

Calls 3

hasNextMethod · 0.65
addMethod · 0.65
nextMethod · 0.65

Tested by

no test coverage detected