View Javadoc
1   package com.puppycrawl.tools.checkstyle.grammars.java8;
2   import java.util.Arrays;
3   import java.util.List;
4   import java.util.logging.Logger;
5   
6   
7   public class InputLambda6 {
8   
9   	private static final Logger LOG = Logger.getLogger(InputLambda6.class.getName());
10  
11  	public void doSomething() {
12  		List<Integer> numbers = Arrays.asList(1, 2, 3, 4, 5, 6);
13  		
14  		numbers.forEach((value) -> LOG.info(value.toString()));
15  	}
16  }