Item batas aliran Java

int maxNumberOfElements = 10;

list.stream()
    .limit(maxNumberOfElements); 
Syenite Phoenix