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

Method limit

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

Returns a stream consisting of the first count elements of this stream. @param count the number of elements to limit to @return the new limited stream

(final Number count)

Source from the content-addressed store, hash-verified

286 * @return the new limited stream
287 */
288 public Stream limit(final Number count) {
289 return substream(Integer.valueOf(0), count);
290 }
291
292
293 /**

Callers 15

doTestWriterMethod · 0.45
decodeMethod · 0.45
testLeftoverBufferMethod · 0.45
newCharBufferMethod · 0.45
buildGetRequestMethod · 0.45
buildPostRequestMethod · 0.45
buildTrailerHeadersMethod · 0.45
buildHeadRequestMethod · 0.45
writeFrameMethod · 0.45

Calls 2

substreamMethod · 0.95
valueOfMethod · 0.45

Tested by 13

doTestWriterMethod · 0.36
decodeMethod · 0.36
testLeftoverBufferMethod · 0.36
newCharBufferMethod · 0.36
buildGetRequestMethod · 0.36
buildPostRequestMethod · 0.36
buildTrailerHeadersMethod · 0.36
buildHeadRequestMethod · 0.36
writeFrameMethod · 0.36