Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

Writing a custom collector that takes/skips a given number of elements:

Provide a custom collector that allows us to collect only the first n elements. Moreover, provide a custom collector that skips the first n elements and collects the rest of them.