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

Method peek

java/org/apache/tomcat/util/digester/Digester.java:1885–1892  ·  view source on GitHub ↗

Return the top object on the stack without removing it. If there are no objects on the stack, return null . @return the top object

()

Source from the content-addressed store, hash-verified

1883 * @return the top object
1884 */
1885 public Object peek() {
1886 try {
1887 return stack.peek();
1888 } catch (EmptyStackException e) {
1889 log.warn(sm.getString("digester.emptyStack"));
1890 return null;
1891 }
1892 }
1893
1894
1895 /**

Callers 15

findStreamMethod · 0.45
beginMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
endMethod · 0.45
bodyMethod · 0.45
beginMethod · 0.45
beginMethod · 0.45
beginMethod · 0.45
beginMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Calls 2

warnMethod · 0.65
getStringMethod · 0.65

Tested by

no test coverage detected