Java - Boolean

Table of Contents

About

Stream

AllMatch

  • if all element are even
list.stream().allMatch(n-> n % 2 ==0); 

Powered by ComboStrap