Table of Contents

About

Data Type - Boolean in Java

Stream

Stream

AllMatch

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